mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-10-21 14:21:48 +00:00
fix(serve): guard missing search sessions
This commit is contained in:
parent
8f5130f58d
commit
6a69c0b5bb
1 changed files with 1 additions and 1 deletions
|
|
@ -1588,7 +1588,7 @@ export async function searchWorkspaceSessionsForResponse(
|
|||
for (const hit of hits) {
|
||||
readOptions.signal?.throwIfAborted();
|
||||
const item = await sessionService.getSessionListItem(hit.sessionId);
|
||||
if (item?.sourceType !== AGENT_HOST_SESSION_SOURCE_TYPE)
|
||||
if (item && item.sourceType !== AGENT_HOST_SESSION_SOURCE_TYPE)
|
||||
bySessionId.set(
|
||||
hit.sessionId,
|
||||
applyOrganization(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue