The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fmt(js): `npm run fix` on merge (#72703)
hermes-seaeye[bot]846b14ab01a8
diff --git a/apps/desktop/src/app/session/hooks/use-session-actions.test.tsx b/apps/desktop/src/app/session/hooks/use-session-actions.test.tsxindex ddf6571f551..531937b64b8 100644--- a/apps/desktop/src/app/session/hooks/use-session-actions.test.tsx+++ b/apps/desktop/src/app/session/hooks/use-session-actions.test.tsx@@ -1097,9 +1097,11 @@ describe('branchStoredSession desktop source tagging', () => {it('branches an open live chat via session.branch with a trimmed message count (bug #1/#3 fix)', async () => {let branchParams: Record<string, unknown> | undefined+const requestGateway = vi.fn(async (method: string, params?: Record<string, unknown>) => {if (method === 'session.branch') {branchParams = params+return {session_id: 'branch-runtime',stored_session_id: 'branch-stored',@@ -1109,6 +1111,7 @@ describe('branchStoredSession desktop source tagging', () => {info: {}} as never}+return {} as never})@@ -1130,7 +1133,7 @@ describe('branchStoredSession desktop source tagging', () => {)await waitFor(() => expect(branchCurrentSession).not.toBeNull())- // Branch from the FIRST assistant reply ("a1"), not the last message �+ // Branch from the FIRST assistant reply ("a1"), not the last message �// this is exactly the scenario that used to drop the question (bug #1):// only the clicked message survived instead of everything up to it.await expect(branchCurrentSession!('a1')).resolves.toBe(true)diff --git a/apps/desktop/src/components/assistant-ui/thread/assistant-message.test.tsx b/apps/desktop/src/components/assistant-ui/thread/assistant-message.test.tsxindex 8fbe4fc23b9..2f39c2a2eb5 100644--- a/apps/desktop/src/components/assistant-ui/thread/assistant-message.test.tsx+++ b/apps/desktop/src/components/assistant-ui/thread/assistant-message.test.tsx@@ -23,6 +23,7 @@ vi.stubGlobal('requestAnimationFrame', (callback: FrameRequestCallback) =>)vi.stubGlobal('cancelAnimationFrame', (id: number) => window.clearTimeout(id))vi.stubGlobal('CSS', { escape: (str: string) => str })+Element.prototype.scrollTo = function scrollTo() {}afterEach(() => {@@ -63,6 +64,7 @@ function Harness({ onBranchInNewChat }: { onBranchInNewChat?: (messageId: stringisRunning: false,onNew: async () => {}})+return (<AssistantRuntimeProvider runtime={runtime}><Thread onBranchInNewChat={onBranchInNewChat} />