mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-11-21 07:55:08 +00:00
The chatgpt.com/backend-api/codex backend 400s on every tool_choice shape for the hosted image_generation tool — it looks up tool_choice as a function name and never recognizes hosted-tool entries. Removing the field from _build_responses_payload() lets the host model decide; the instructions field nudges it toward the tool. Salvaged from PR #19979 (originally targeted the old client.responses.stream call, which no longer exists on upstream/main; the live request now flows through _build_responses_payload + httpx in _collect_image_b64). |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| check_parity_vs_main.py | ||
| test_deepinfra_provider.py | ||
| test_fal_provider.py | ||
| test_krea_provider.py | ||
| test_openai_codex_provider.py | ||
| test_openai_provider.py | ||
| test_openrouter_compat_provider.py | ||
| test_xai_provider.py | ||