admineral / OpenAI-Assistant-API-Chat

OpenAI Assistant API Template: Customize your Assistant and chat with your files.
https://open-ai-assistant-api-chat.vercel.app
283 stars 89 forks source link

Support Assistant API V2 to use gpt-4o #21

Open vietnguyengit opened 1 month ago

vietnguyengit commented 1 month ago

Currently, this project doesn't support to use assistant running gpt-4o model because it requires Assistant API V2.

Error in -runAssistant: Error: 400 The requested model 'gpt-4o' cannot be used with the Assistants API in v1. Follow the migration guide to upgrade to v2: https://platform.openai.com/docs/assistants/migration.
admineral commented 1 month ago

Yes, a lot changed, needs a complete rework.

7-14 days.

vietnguyengit commented 1 month ago

thanks @admineral for your amazing work!

admineral commented 1 month ago

Hello, a quick update on the v2 migration. I have now integrated 30 endpoints. I'm taking my time, so I'm on it. Expect another 7 days. I will take a lot of time for the Readmes, code comments, and the whole API architecture.

vietnguyengit commented 1 month ago

Hello, a quick update on the v2 migration. I have now integrated 30 endpoints. I'm taking my time, so I'm on it. Expect another 7 days. I will take a lot of time for the Readmes, code comments, and the whole API architecture.

thank you so much for your hard work! @admineral legend!