Skip to content

feat(ai): add caching, routing, and partial question handling#2

Open
wshal wants to merge 1 commit into
masterfrom
friendly-settee
Open

feat(ai): add caching, routing, and partial question handling#2
wshal wants to merge 1 commit into
masterfrom
friendly-settee

Conversation

@wshal

@wshal wshal commented Apr 12, 2026

Copy link
Copy Markdown
Owner

implement question caching using hash-based exact match with TTL to reduce API calls and improve response times

add smart model router that analyzes query complexity to route simple questions to fast models (Groq/Llama) and complex ones to advanced models (GPT-4/Claude)

enhance UI components with partial question display during listening, including pulse animations for visual feedback

improve local AI whisper loading with memory validation, timeout handling, and retry mechanism for better reliability

add lru-cache dependency and update preload event channels for new functionality

implement question caching using hash-based exact match with TTL to reduce API calls and improve response times

add smart model router that analyzes query complexity to route simple questions to fast models (Groq/Llama) and complex ones to advanced models (GPT-4/Claude)

enhance UI components with partial question display during listening, including pulse animations for visual feedback

improve local AI whisper loading with memory validation, timeout handling, and retry mechanism for better reliability

add lru-cache dependency and update preload event channels for new functionality
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant