fix(voice): агент слушает 0.0.0.0 + защита tool_use.input от null
All checks were successful
Deploy / deploy (push) Successful in 1m58s
All checks were successful
Deploy / deploy (push) Successful in 1m58s
- 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
This commit is contained in:
@@ -79,8 +79,8 @@ def serve(port):
|
||||
pass # тихо
|
||||
|
||||
_ensure_loaded()
|
||||
print(f"tablet-agent слушает http://127.0.0.1:{port} (порог {THRESHOLD})")
|
||||
HTTPServer(("127.0.0.1", port), Handler).serve_forever()
|
||||
print(f"tablet-agent слушает http://0.0.0.0:{port} (порог {THRESHOLD})")
|
||||
HTTPServer(("0.0.0.0", port), Handler).serve_forever()
|
||||
|
||||
|
||||
def main():
|
||||
|
||||
Reference in New Issue
Block a user