OpenAI piece - Assistant GPT-4o not working

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:

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.

1 Like

Hi @Ryan_Hendrickson

Please test again, @kishanprmr upgraded it to v2.

Reference: feat(openai): support gpt-4o in assistant actions by kishanprmr · Pull Request #4699 · activepieces/activepieces · GitHub

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.