AI agent using chatgpt o-1 pro doesn't work

Hello,

I’m setting an AI agent using chatgpt o-1 pro but it sends me an error saying:

“404 This model is only supported in v1/responses and not in v1/chat/completions”

4.1 mini works for example, but this one doesn’t.

In the workflow I simply use a manual trigger and an AI Agent using chatgpt o-1 pro.

Thank you!

Hi there, the error is shown because in the background, the AI Agent is calling the openai API of v1/chat/completions, and as you can see in the error the o-1 pro is not available through this API, which what the n8n is calling for it’s AI Agent

if you want to use the o-1 pro, i think you can use the http request node for it and call the v1/responses API of the openai, which you can use this documentation for
https://platform.openai.com/docs/api-reference/responses

while for the supported model of openAI that you can use for the AI Agent, you can refer to this documentation
https://platform.openai.com/docs/api-reference/chat/create

but in short, you can use any 4o or 4.1 models for the AI Agent with no issue

hope it helps

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