mirror of
https://github.com/langchain-ai/langchain.git
synced 2026-10-05 17:35:28 +03:00
chore(openai): update snapshots (#39657)
This commit is contained in:
1 parent
5327463f5c
commit
6e2d4f4273
4 files changed
+14
-1
No files matched your search
+1
@@ -11,6 +11,7 @@
|
||||
'max_retries': 2,
|
||||
'max_tokens': 100,
|
||||
'model_name': 'gpt-3.5-turbo',
|
||||
'openai_api_base': 'https://api.openai.com/v1',
|
||||
'openai_api_key': dict({
|
||||
'id': list([
|
||||
'OPENAI_API_KEY',
|
||||
|
||||
+1
@@ -11,6 +11,7 @@
|
||||
'max_retries': 2,
|
||||
'max_tokens': 100,
|
||||
'model_name': 'gpt-3.5-turbo',
|
||||
'openai_api_base': 'https://api.openai.com/v1',
|
||||
'openai_api_key': dict({
|
||||
'id': list([
|
||||
'OPENAI_API_KEY',
|
||||
|
||||
@@ -11,6 +11,13 @@ class TestOpenAIStandard(ChatModelUnitTests):
|
||||
def chat_model_class(self) -> type[BaseChatModel]:
|
||||
return ChatOpenAI
|
||||
|
||||
@property
|
||||
def chat_model_params(self) -> dict:
|
||||
return {
|
||||
"base_url": "https://api.openai.com/v1",
|
||||
"stream_usage": True,
|
||||
}
|
||||
|
||||
@property
|
||||
def init_from_env_params(self) -> tuple[dict, dict, dict]:
|
||||
return (
|
||||
|
||||
@@ -13,7 +13,11 @@ class TestOpenAIResponses(ChatModelUnitTests):
|
||||
|
||||
@property
|
||||
def chat_model_params(self) -> dict:
|
||||
return {"use_responses_api": True}
|
||||
return {
|
||||
"use_responses_api": True,
|
||||
"base_url": "https://api.openai.com/v1",
|
||||
"stream_usage": True,
|
||||
}
|
||||
|
||||
@property
|
||||
def init_from_env_params(self) -> tuple[dict, dict, dict]:
|
||||
|
||||
Reference in new issue
Block a user