Skip to content

Commit e5ceb36

Browse files
committed
lint
1 parent 02fc5c9 commit e5ceb36

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libs/langchain-mongodb/tests/integration_tests/test_chain_example.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
from langchain_core.prompts.chat import ChatPromptTemplate
1212
from langchain_core.runnables import RunnablePassthrough
1313
from langchain_openai import AzureChatOpenAI, ChatOpenAI
14+
from langchain_openai.chat_models.base import BaseChatOpenAI
1415
from pymongo import MongoClient
1516
from pymongo.collection import Collection
1617

@@ -121,7 +122,7 @@ def test_chain(
121122
prompt = ChatPromptTemplate.from_template(template)
122123

123124
if "AZURE_OPENAI_ENDPOINT" in os.environ:
124-
model = AzureChatOpenAI(model="o4-mini")
125+
model: BaseChatOpenAI = AzureChatOpenAI(model="o4-mini")
125126
else:
126127
model = ChatOpenAI()
127128

0 commit comments

Comments
 (0)