-
Notifications
You must be signed in to change notification settings - Fork 137
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
[Bug]: cannot use open AI assistants=v2 version API #1585
Comments
@Valentinoaa Thank you, but how can you change the version number in the header when using the Teams AI Library provided by Microsoft to create an AI assistant bot [Preview] Teams app in Microsoft Visual Studio or VS Code? |
@smithcal1000, you´re wellcome. |
I just checked and Microsoft has not yet released the Azure.AI.OpenAI.Assistants package that supports streaming and Assistants v2. It says it will be coming soon in a future update. |
Check this example. I´m using it and it works well. You just have to migrate manually to the latest OpenAI SDK as I mentioned before. |
I tried your solution, and it works after I manually installed the latest OpenAI SDK. However, can I do the same with JS instead of Python? |
Language
Javascript/Typescript
Version
latest
Description
It appears that users cannot change the OpenAI assistant's API version, as Teams AI is currently utilizing version 4.28.4 of the OpenAI npm package, with its assistant's API version set to v1. Will you update this OpenAI npm package to the latest version, or how can we change the assistant's API version?
Related bug: OfficeDev/teams-toolkit#11512
Reproduction Steps
The text was updated successfully, but these errors were encountered: