You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/libs
Yuki Oshima 12190ad728
openai[patch]: Fix langchain-openai unknown parameter error with gpt-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:** https://github.com/langchain-ai/langchain/issues/20264

**Dependencies:** none

**Twitter handle:** https://twitter.com/oshima_123
6 months ago
..
cli cli[minor]: Add disable sockets in unit tests (#19877) 6 months ago
community community[patch]: Release 0.0.32 (#20236) 6 months ago
core update agents to use tool call messages (#20074) 6 months ago
experimental experimental[patch]: Release 0.0.57 (#20243) 6 months ago
langchain update agents to use tool call messages (#20074) 6 months ago
partners openai[patch]: Fix langchain-openai unknown parameter error with gpt-4-turbo (#20271) 6 months ago
standard-tests standard-tests: a standard unit and integration test set (#20182) 6 months ago
text-splitters text-splitters[minor]: Adding a new section aware splitter to langchain (#16526) 6 months ago