nanochat/services/frontend/components
Manmohan Sharma 4628d53d67
fix(tools): force web_search on tool-worthy queries + strip orphan markers in UI
Adds modal/_query_classifier.py with regex patterns covering time-sensitive queries (current/present/latest/today/weather/CEO/president/stock/news/sports/etc). Modal serve.py classifies each user message and, when it matches, pre-seeds the assistant turn with a real Tavily-backed tool call + result — so 'whos the present president' now triggers web_search the same as 'current president'. Also tightens the post-injection break to fire on any leaked tool marker. UI: MessageBubble.tsx now strips orphan close-tags (<|output_end|> without an open), dedupes consecutive identical tool-result blocks, and removes fragment markers from text segments so they don't leak into the message body.
2026-04-22 15:01:07 -07:00
..
chat fix(tools): force web_search on tool-worthy queries + strip orphan markers in UI 2026-04-22 15:01:07 -07:00
landing feat: deploy d24 SFT + polished UI redesign with dark mode (#39) 2026-04-16 19:55:16 -04:00
login feat(frontend): wire frontend to real backend auth + chat-api services 2026-04-16 13:21:38 -07:00
svg feat(frontend): Next.js 14 frontend service for samosaChaat (#2) 2026-04-16 11:26:57 -07:00
LandingFooter.tsx fix(frontend): redesign landing and chat pages for warm, premium look 2026-04-16 14:03:55 -07:00
LandingNav.tsx fix(frontend): widen nav pill, default to dark theme (#41) 2026-04-16 20:08:55 -04:00
SessionBoundary.tsx feat(frontend): wire frontend to real backend auth + chat-api services 2026-04-16 13:21:38 -07:00