[Chat] Sync convo agent with shadow cache (#10827)

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: DS Boyce <260543580+ds-boyce@users.noreply.github.com>
Co-authored-by: Samuel Newman <mozzius@protonmail.com>
This commit is contained in:
Eric Bailey
2026-06-10 10:16:58 -05:00
committed by GitHub
parent 17ff9af200
commit 8b4a5238be
12 changed files with 195 additions and 58 deletions
+2 -2
View File
@@ -12,6 +12,8 @@ export function useChatActorStatusQuery() {
const agent = useAgent()
return useQuery({
gcTime: STALE.INFINITY,
staleTime: STALE.SECONDS.FIFTEEN,
queryKey: chatActorStatusQueryKey(),
queryFn: async () => {
const {data} = await agent.chat.bsky.actor.getStatus(
@@ -21,7 +23,5 @@ export function useChatActorStatusQuery() {
return data
},
staleTime: STALE.INFINITY,
gcTime: STALE.INFINITY,
})
}