langchain/libs/partners/openai/tests
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
2024-04-10 09:51:38 -07:00
..
integration_tests openai[patch]: Fix langchain-openai unknown parameter error with gpt-4-turbo (#20271) 2024-04-10 09:51:38 -07:00
unit_tests core[minor], ...: add tool calls message (#18947) 2024-04-09 18:41:42 -05:00
__init__.py openai[minor]: implement langchain-openai package (#15503) 2024-01-05 15:03:28 -08:00