-
Notifications
You must be signed in to change notification settings - Fork 17k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix incorrect import path for AzureAIChatCompletionsModel #30417
Fix incorrect import path for AzureAIChatCompletionsModel #30417
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @marlenezw
Ugh, thanks for the catch! This LGTM! |
I also noticed that in line 111 in the docstring, I made a mistake. it should be |
Fixes langchain-ai#30416 Correct the import path for `AzureAIChatCompletionsModel` in the `_init_chat_model_helper` function. * Update the import statement in `libs/langchain/langchain/chat_models/base.py` to `from langchain_azure_ai.chat_models import AzureAIChatCompletionsModel`. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/langchain-ai/langchain/issues/30416?shareId=XXXX-XXXX-XXXX-XXXX).
a89f8bf
to
1b783a5
Compare
This looks great! Thank you!! |
Fixes #30416
Correct the import path for
AzureAIChatCompletionsModel
in the_init_chat_model_helper
function.libs/langchain/langchain/chat_models/base.py
tofrom langchain_azure_ai.chat_models import AzureAIChatCompletionsModel
.For more details, open the Copilot Workspace session.