Skip to content

Commit

Permalink
update for compatibility with langchain-openai==0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ccurme committed Jan 13, 2025
1 parent c115c09 commit 3234a1d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libs/langchain/tests/unit_tests/chat_models/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,14 @@ def test_configurable() -> None:
"disable_streaming": False,
"disabled_params": None,
"model_name": "gpt-4o",
"temperature": 0.7,
"temperature": None,
"model_kwargs": {},
"openai_api_key": SecretStr("foo"),
"openai_api_base": None,
"openai_organization": None,
"openai_proxy": None,
"request_timeout": None,
"max_retries": 2,
"max_retries": None,
"presence_penalty": None,
"reasoning_effort": None,
"frequency_penalty": None,
Expand All @@ -123,7 +123,7 @@ def test_configurable() -> None:
"top_logprobs": None,
"logit_bias": None,
"streaming": False,
"n": 1,
"n": None,
"top_p": None,
"max_tokens": None,
"tiktoken_model_name": None,
Expand Down

0 comments on commit 3234a1d

Please sign in to comment.