The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(desktop): keep the two invariant avatar-cache tests (bound + negative TTL)
teknium133e8c589cf2c
diff --git a/apps/desktop/src/components/assistant-ui/thread/agent-avatar-cache.test.ts b/apps/desktop/src/components/assistant-ui/thread/agent-avatar-cache.test.tsindex 1b3f9a4be17..a487331ca75 100644--- a/apps/desktop/src/components/assistant-ui/thread/agent-avatar-cache.test.ts+++ b/apps/desktop/src/components/assistant-ui/thread/agent-avatar-cache.test.ts@@ -62,17 +62,6 @@ describe('agent avatar cache', () => {expect(agentAvatarCache.has(`bot${CACHE_MAX}`)).toBe(true)})- it('serves a resolved avatar from the cache without another request', async () => {- withAvatar.add('hermes')-- const first = await resolveAgentAvatar('hermes')- const calls = listCalls-- expect(first).toBe('data:image/png;base64,hermes')- expect(await resolveAgentAvatar('Hermes')).toBe(first)- expect(listCalls).toBe(calls)- })-it('honours a negative entry inside the TTL and re-probes once it expires', async () => {const now = vi.spyOn(Date, 'now').mockReturnValue(1_000_000)