Repository navigation
fix(elevenlabs): refuse models chat completions cannot serve at connect - #877
Merged
Merged
Conversation
gpt-5-pro is Responses-only, and gpt-6-astra / gpt-6.1-sol take function tools only on Responses, so an agent connected on any of them fails every turn. Refuse them before any agent is patched.
7 of 10 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
prismor elevenlabs connect --model <m>points the agent at the proxy withapi_type: chat_completions. Three models can't serve that, so every turn of the call fails at OpenAI. Checked live on 2026-11-07:gpt-5-progpt-6-astragpt-6.1-solFollow-up to #875, which fixed the
reasoning_effortvalue for these models. Its author noted the tool-calling gap and left it out of scope.Solution
connect()refuses these models up front, with an error that names models that work. It refuses before any secret is created, any agent is patched, orproxy.jsonis written. Dated snapshots (gpt-6-astra-2026-09-01) are matched the same way #875 matches them.Astra and Sol 6.1 are refused even for agents with no tools. Whether ElevenLabs still sends system tools like
end_callon those turns isn't verified. A per-agent tool check can be added if someone needs those models without tools.Files changed
prismor/runtime/elevenlabs_cli.py_CHAT_UNSERVABLEand the check at the top ofconnect()tests/test_elevenlabs.pyproxy.jsonare left untoucheddocs/elevenlabs.md--modelTesting
133 passed (macOS).
Conflicts with #875 on
import re. Whichever merges second needs a one-line rebase.