fix: fetch routed workbench session details (#1322)
This commit is contained in:
@@ -133,7 +133,7 @@ export const useWorkbenchStore = defineStore("workbench", () => {
|
||||
const current = await ensureWorkspace();
|
||||
if (!current) return false;
|
||||
const existing = visibleConversations.value.find((conversation) => conversation.conversationId === normalized) ?? null;
|
||||
if (existing) {
|
||||
if (existing && (existing.messages?.length ?? 0) > 0) {
|
||||
if (activeConversationId.value === normalized && messages.value.length > 0) return true;
|
||||
await selectConversation(existing);
|
||||
return activeConversationId.value === normalized;
|
||||
|
||||
Reference in New Issue
Block a user