nanochat/modal
Manmohan Sharma bd37163138
fix: auto-inject calculator tool call on arithmetic in user message
needs_calculator now extracts the actual expression from: bare arithmetic (900+100), verbal math (900 plus 100), percentage (17% tip on 45), with comma-stripping and whitespace normalization. serve.py wires it into the force-prefix path parallel to web_search — if no web-search trigger, check calculator, pre-seed real tool call + result so the model sees the grounded answer in context.
2026-04-22 16:04:26 -07:00
..
_model.py feat: deploy d24 SFT + polished UI redesign with dark mode (#39) 2026-04-16 19:55:16 -04:00
_query_classifier.py fix: auto-inject calculator tool call on arithmetic in user message 2026-04-22 16:04:26 -07:00
_tokenizer.py feat: deploy d24 SFT + polished UI redesign with dark mode (#39) 2026-04-16 19:55:16 -04:00
_tools.py fix(tools): enable Tavily include_answer and fix UI overflow 2026-04-22 14:20:47 -07:00
serve.py fix: auto-inject calculator tool call on arithmetic in user message 2026-04-22 16:04:26 -07:00