mirror of
https://github.com/microsoft/autogen.git
synced 2025-06-26 22:30:10 +00:00
Missing UserMessage import (#6583)
<!-- Thank you for your contribution! Please review https://microsoft.github.io/autogen/docs/Contribute before opening a pull request. --> <!-- Please add a reviewer to the assignee section when you create a PR. If you don't have the access to it, we will shortly find a reviewer and assign them to your PR. --> ## Why are these changes needed? The code block fails to execute without the import ## Related issue number N/A ## Checks - [x ] I've included any doc changes needed for <https://microsoft.github.io/autogen/>. See <https://github.com/microsoft/autogen/blob/main/CONTRIBUTING.md> to build and test documentation locally. - [ ] I've added tests (if relevant) corresponding to the changes introduced in this PR. - [ ] I've made sure all auto checks have passed. Co-authored-by: Victor Dibia <victordibia@microsoft.com>
This commit is contained in:
parent
b8d02c9a20
commit
53d384236c
@ -165,6 +165,7 @@
|
||||
"from autogen_ext.auth.azure import AzureTokenProvider\n",
|
||||
"from autogen_ext.models.openai import AzureOpenAIChatCompletionClient\n",
|
||||
"from azure.identity import DefaultAzureCredential\n",
|
||||
"from autogen_core.models import UserMessage\n",
|
||||
"\n",
|
||||
"# Create the token provider\n",
|
||||
"token_provider = AzureTokenProvider(\n",
|
||||
|
Loading…
x
Reference in New Issue
Block a user