mirror of
https://github.com/hwchase17/langchain.git
synced 2026-06-09 18:50:33 +00:00
fix(openai): update model used in test (#33733)
Co-authored-by: Mason Daugherty <mason@langchain.dev>
This commit is contained in:
@@ -75,7 +75,7 @@ class TestOpenAIStandard(ChatModelIntegrationTests):
|
|||||||
return _invoke(llm, input_, stream)
|
return _invoke(llm, input_, stream)
|
||||||
|
|
||||||
def invoke_with_reasoning_output(self, *, stream: bool = False) -> AIMessage:
|
def invoke_with_reasoning_output(self, *, stream: bool = False) -> AIMessage:
|
||||||
llm = ChatOpenAI(model="o1-mini", stream_usage=True, temperature=1)
|
llm = ChatOpenAI(model="gpt-5-nano", reasoning_effort="medium")
|
||||||
input_ = (
|
input_ = (
|
||||||
"explain the relationship between the 2008/9 economic crisis and the "
|
"explain the relationship between the 2008/9 economic crisis and the "
|
||||||
"startup ecosystem in the early 2010s"
|
"startup ecosystem in the early 2010s"
|
||||||
|
|||||||
Reference in New Issue
Block a user