Repository navigation
fix(harness): move Retell agent listing and browser calls off legacy endpoints before October 18 - #144
Open
23821 wants to merge 1 commit into
Conversation
…endpoints before October 18
This branch has not been deployed
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.
Summary
Retell AI is deprecating legacy endpoints: GET /list-agents and GET /list-chat-agents have returned errors since July 31, 2026, and browser SDK 2.x is deprecated October 18, 2026 (11 days from now). Details: https://docs.retellai.com/deprecation-notice/overview
This repo doesn't use /list-agents, /list-chat-agents, or RetellWebClient directly, but it does POST directly to Retell's web-call creation endpoint, which is moving from v2 to v3 (same JSON body). Updated the default/fallback
api_urlin three places so web calls keep working after the deadline:src/fi/alk/harness/call_runner.py:591— default api_url POSTed by the retell bridge to create a web callsrc/fi/simulate/agent/definition.py:238— default api_url forRetellTargetConfigsrc/fi/simulate/simulation/bridge/retell.py:65— fallbackRETELL_API_URLenv defaultAll three changed from
https://api.retellai.com/v2/create-web-calltohttps://api.retellai.com/v3/create-web-call.Verification
uv run ruff check .uv run pytest -qwhen touching shared runtime, CLI, SDK, or release gatestypescript/agent-learn release-proofwhen touching release-candidate behaviorTests are inconclusive:
uv run pytest -qfailed before this change too, withModuleNotFoundError: No module named 'hypothesis'andModuleNotFoundError: No module named 'livekit'during collection, unrelated to this change. Output:Test output
Checklist
agent_learning.*,agent-learn, or@future-agi/agent-learning-kitPrepared with YakBarber, a tool I'm building that updates code when an API changes (the check is open source), and reviewed by me before sending. It was sent once, to this repository only; if it isn't useful, feel free to close it.