-
-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes Openai realtime implementation, fixing tool usage in particular. #572
Conversation
Hey @josancamon19 , Thanks for the report and the PR draft 🙂 I've pushed a new commit that fixes the issue and adds a test. |
I'm on the latest version and tool usage doesn't seem to be working. I tried adding a basic tool in both ways shown in the docs but the model does not know that the tool exists. |
Hey @caleb654, Can you provide a test that reproduces the issue you're experiencing? I've just rerun this test that tests tool use, and it's still passing: langchain_dart/packages/openai_realtime_dart/test/client_test.dart Lines 88 to 197 in 194534c
|
Sorry seems to be working now. I think my implementation was just messed up. |
Fixes for using openai realtime api. Tool calling is not working in current library version, this imp fixes it, additionally, receiving user role messages was triggering an exception.