Skip to content

fix: #2204 Convert tool execution exception to runtime error - #2243

Merged
seratch merged 4 commits into
openai:mainfrom
aligokalppeker:bugfix/wrong_toolname_failure
Jan 6, 2026
Merged

seratch merged 4 commits into
openai:mainfrom
aligokalppeker:bugfix/wrong_toolname_failure

Conversation

@aligokalppeker

@aligokalppeker aligokalppeker commented Dec 28, 2025 •

Copy link
Copy Markdown
Contributor

This PR fixes #2204 the issue I opened a while ago.

This fix changes "exception raise" to "runtime error message trigger" when an unregistered tool is triggered to be executed by the real-time model.

@seratch seratch added bug Something isn't working feature:realtime labels Jan 5, 2026
@seratch

seratch commented Jan 5, 2026

Copy link
Copy Markdown
Member

Overall this looks good to me. Can you resolve the CI errors?

@seratch seratch added this to the 0.7.x milestone Jan 5, 2026
@seratch seratch changed the title Convert tool execution exception to runtime error, fixes #2204 fix: #2204Convert tool execution exception to runtime error Jan 5, 2026
@aligokalppeker

Copy link
Copy Markdown
Contributor Author

As far as i see, there was a linter error for unused import and i fixed it and pushed. The error in tests seem to be time out for the execution of the pipeline.

@seratch seratch changed the title fix: #2204Convert tool execution exception to runtime error fix: #2204 Convert tool execution exception to runtime error Jan 6, 2026
@aligokalppeker

Copy link
Copy Markdown
Contributor Author

Sorry about the unit tests, it is fixed now. First time opening a PR in the repo, and other failed tests in the suite confuse it.

@seratch seratch modified the milestones: 0.7.x, 0.6.x Jan 6, 2026

@seratch seratch left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! LGTM

@seratch
seratch merged commit c35c0af into openai:main Jan 6, 2026
9 checks passed
@seratch seratch mentioned this pull request Jan 6, 2026
rm-openai pushed a commit that referenced this pull request Jan 6, 2026
This release will include:
- #2260
- #2227
- #2225
- #2235
- #2226
- #2213
- #2243
- #2229
- #2158
- #2214
- #2238

full diff:
v0.6.4...main
@aligokalppeker
aligokalppeker deleted the bugfix/wrong_toolname_failure branch April 29, 2026 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working feature:realtime

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Not found tool execution brakes down the session.

2 participants