feat(workbench): integrate operational workflows and map state
This commit is contained in:
@@ -32,5 +32,7 @@ export async function fetchAgentBootstrap(client: AgentApiClient): Promise<Agent
|
||||
}
|
||||
|
||||
export async function fetchAgentSessions(client: AgentApiClient): Promise<AgentChatSessionSummary[]> {
|
||||
return client.listSessions();
|
||||
const sessions = await client.listSessions({ purpose: "ordinary_chat" });
|
||||
// Keep the product boundary even while an older Agent service is rolling forward.
|
||||
return sessions.filter((session) => session.purpose === "ordinary_chat");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user