Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions frontend/src/components/UnifiedChat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2365,6 +2365,11 @@ export function UnifiedChat() {
// Re-enable polling after streaming completes
assistantStreamingRef.current = false;
setCurrentResponseId(undefined);

// Invalidate billing status after a delay to allow backend processing
setTimeout(() => {
queryClient.invalidateQueries({ queryKey: ["billingStatus"] });
}, 3000);
Comment thread
AnthonyRonning marked this conversation as resolved.
Outdated
Comment thread
AnthonyRonning marked this conversation as resolved.
}
} catch (error) {
console.error("Failed to send message:", error);
Expand Down
Loading