feat: add batch clear attention and orchestrator mode instructions

This commit is contained in:
Mohamed Boudra
2025-12-20 05:57:54 +00:00
parent 0f1758709d
commit fb30160cda
5 changed files with 180 additions and 7 deletions
+2 -2
View File
@@ -23,7 +23,7 @@ export interface UseWebSocketReturn {
) => () => void;
sendPing: () => void;
sendUserMessage: (message: string) => void;
clearAgentAttention: (agentId: string) => void;
clearAgentAttention: (agentId: string | string[]) => void;
subscribeConnectionStatus?: (listener: (status: ConnectionStatusSnapshot) => void) => () => void;
getConnectionState?: () => ConnectionStatusSnapshot;
}
@@ -291,7 +291,7 @@ export function useWebSocket(url: string, conversationId?: string | null): UseWe
);
const clearAgentAttention = useCallback(
(agentId: string) => {
(agentId: string | string[]) => {
send({
type: "session",
message: {