nanochat/services/chat-api/src
Manmohan Sharma 215e8bd8c3
feat(ui): add Search toggle that forces web_search every message
New Globe/'Search' toggle next to the Brain/'Think' button. When ON, every message sent pushes force_web_search=true through: frontend -> chat-api -> Modal. Modal bypasses the heuristic classifier and always pre-seeds the assistant turn with a real Tavily-grounded tool call + result. Toggle is independent of Think — use either or both. Classifier still runs when toggle is OFF, so auto-detection of 'current president' / 'latest weather' / etc still works without any user action.
2026-04-22 15:20:45 -07:00
..
middleware feat(chat-api): conversation orchestration + SSE streaming proxy (#6) 2026-04-16 11:49:51 -07:00
models fix(chat-api): use_alter on users FK to avoid metadata resolution error 2026-04-16 14:40:45 -07:00
routes feat(ui): add Search toggle that forces web_search every message 2026-04-22 15:20:45 -07:00
services feat(ui): add Search toggle that forces web_search every message 2026-04-22 15:20:45 -07:00
tests feat(chat-api): conversation orchestration + SSE streaming proxy (#6) 2026-04-16 11:49:51 -07:00
__init__.py feat(chat-api): conversation orchestration + SSE streaming proxy (#6) 2026-04-16 11:49:51 -07:00
config.py feat(chat-api): conversation orchestration + SSE streaming proxy (#6) 2026-04-16 11:49:51 -07:00
database.py feat(chat-api): conversation orchestration + SSE streaming proxy (#6) 2026-04-16 11:49:51 -07:00
logging_setup.py feat(chat-api): conversation orchestration + SSE streaming proxy (#6) 2026-04-16 11:49:51 -07:00
main.py feat(observability): Prometheus + Grafana + Loki stack for samosaChaat (#9) 2026-04-16 12:29:16 -07:00