-
Notifications
You must be signed in to change notification settings - Fork 20
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
call to GPT4 returns error code 400 #18
Comments
I've updated the plugin yesterday and now I'm also getting the error. before, the same flow worked fine.
|
It looks like "functions" and "function_call" are deprecated in favor of "tools" and "tool_choice" in the documentation here https://platform.openai.com/docs/api-reference/chat/create. I no longer have API access so I'm kind of flying blind here, but perhaps changing the line in
to
may resolve the issue. Sorry I can't be of more help at this time. If anyone could confirm or deny if that works, I would be grateful, otherwise I will have to revert the feature soon. |
I made the change as suggested but now get the error:
|
Feature has been reverted for now, let me know if any issues persist. |
The same call with
turbo
works just fine.The text was updated successfully, but these errors were encountered: