-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
OpenAI tools agent error if use with gpt-4-turbo-2024-04-09 #20264
Comments
dosubot
bot
added
Ɑ: agent
Related to agents module
🔌: openai
Primarily related to OpenAI integrations
🤖:bug
Related to a bug, vulnerability, unexpected error with an existing feature
labels
Apr 10, 2024
I understood this error cause, so I'm creating Pull Request. |
efriis
pushed a commit
that referenced
this issue
Apr 10, 2024
…4-turbo (#20271) **Description:** I fixed langchain-openai unknown parameter error with gpt-4-turbo. It seems that the behavior of the Chat Completions API implicitly changed when using the latest gpt-4-turbo model, differing from previous models. It now appears to reject parameters that are not listed in the [API Reference](https://platform.openai.com/docs/api-reference/chat/create). So I found some errors and fixed them. **Issue:** #20264 **Dependencies:** none **Twitter handle:** https://twitter.com/oshima_123
fixed in #20271 |
5 tasks
kindly check this bug when I upgraded langchain for using turbo: #20405 |
junkeon
pushed a commit
to UpstageAI/langchain
that referenced
this issue
Apr 16, 2024
…4-turbo (langchain-ai#20271) **Description:** I fixed langchain-openai unknown parameter error with gpt-4-turbo. It seems that the behavior of the Chat Completions API implicitly changed when using the latest gpt-4-turbo model, differing from previous models. It now appears to reject parameters that are not listed in the [API Reference](https://platform.openai.com/docs/api-reference/chat/create). So I found some errors and fixed them. **Issue:** langchain-ai#20264 **Dependencies:** none **Twitter handle:** https://twitter.com/oshima_123
hinthornw
pushed a commit
that referenced
this issue
Apr 26, 2024
…4-turbo (#20271) **Description:** I fixed langchain-openai unknown parameter error with gpt-4-turbo. It seems that the behavior of the Chat Completions API implicitly changed when using the latest gpt-4-turbo model, differing from previous models. It now appears to reject parameters that are not listed in the [API Reference](https://platform.openai.com/docs/api-reference/chat/create). So I found some errors and fixed them. **Issue:** #20264 **Dependencies:** none **Twitter handle:** https://twitter.com/oshima_123
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Checked other resources
Example Code
Error Message and Stack Trace (if applicable)
Description
OpenAI tools agent initialized by
create_openai_tools_agent
raise error if use with gpt-4-turbo-2024-04-09.This error is not caused with other OpenAI model like gpt-4-0125-preview, gpt-3.5-turbo-0125.
If I only use openai package without langchain, this error is not caused.
System Info
The text was updated successfully, but these errors were encountered: