Files
smart-home-tablet/app/api/voice/chat/route.ts
Cosmo d71320a5a9
All checks were successful
Deploy / deploy (push) Successful in 1m58s
fix(voice): агент слушает 0.0.0.0 + защита tool_use.input от null
- agent/predict.py: HTTPServer bind 127.0.0.1 -> 0.0.0.0, иначе route.ts
  (контейнер планшета) не достукивается до tablet-agent по имени в сети coolify
- route.ts: historyToAnthropicMessages приводит не-объект/null из
  tc.function.arguments к {} — Anthropic 400 (tool_use.input must be object)
  на legacy-истории от Groq (arguments: "null")

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UYsVrPyJ5phJeVsAGciS1v
2026-07-22 20:54:45 +00:00

15 KiB