The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix: widen requestGateway mock signature for typecheck (follow-up for salvaged PR #69689)
teknium1fd29ce51025a
diff --git a/apps/desktop/src/app/session/hooks/use-prompt-actions/index.test.tsx b/apps/desktop/src/app/session/hooks/use-prompt-actions/index.test.tsxindex b9f18979ec3..e5cc41077ef 100644--- a/apps/desktop/src/app/session/hooks/use-prompt-actions/index.test.tsx+++ b/apps/desktop/src/app/session/hooks/use-prompt-actions/index.test.tsx@@ -1171,7 +1171,7 @@ describe('usePromptActions submit / queue drain semantics', () => {// the queue entry. The drain must instead go through session.resume to// rebind the correct runtime before submitting.const requestGateway = vi.fn(- async (method: string) =>+ async (method: string, _params?: Record<string, unknown>, _timeoutMs?: number) =>(method === 'session.resume' ? { session_id: 'rt-session-a-rebound' } : {}) as never)