Hello! I made a new OpenAI assistant to use as a part of my flow, but it uses GPT-4o, OpenAI’s new model. The model requires you to use the Assistants v2 API, resulting in the following error in my flow:
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.
It appears it is just a flag in the headers you have to set, but it modifies the output of the endpoint.
If it makes a difference, I am using a self-hosted installation, running the latest version of Activepieces.