We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02fc5c9 commit e5ceb36Copy full SHA for e5ceb36
libs/langchain-mongodb/tests/integration_tests/test_chain_example.py
@@ -11,6 +11,7 @@
11
from langchain_core.prompts.chat import ChatPromptTemplate
12
from langchain_core.runnables import RunnablePassthrough
13
from langchain_openai import AzureChatOpenAI, ChatOpenAI
14
+from langchain_openai.chat_models.base import BaseChatOpenAI
15
from pymongo import MongoClient
16
from pymongo.collection import Collection
17
@@ -121,7 +122,7 @@ def test_chain(
121
122
prompt = ChatPromptTemplate.from_template(template)
123
124
if "AZURE_OPENAI_ENDPOINT" in os.environ:
- model = AzureChatOpenAI(model="o4-mini")
125
+ model: BaseChatOpenAI = AzureChatOpenAI(model="o4-mini")
126
else:
127
model = ChatOpenAI()
128
0 commit comments