mirror of
https://github.com/karpathy/nanochat.git
synced 2026-05-13 11:20:21 +00:00
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. |
||
|---|---|---|
| .. | ||
| middleware | ||
| models | ||
| routes | ||
| services | ||
| tests | ||
| __init__.py | ||
| config.py | ||
| database.py | ||
| logging_setup.py | ||
| main.py | ||