[GH-ISSUE #4465] [CHORE]: Migrate OpenAI agent provider to Responses API #2847

Closed
opened 2026-02-22 18:31:31 -05:00 by yindo · 0 comments
Owner

Originally created by @timothycarambat on GitHub (Oct 1, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4465

What would you like to see?

The Responses API for OpenAI is useful since it paves over the nuances of model differences without us having to create cases for each model - which changes so often.

The Agent provider for OpenAI is still using completions - breaking GPT-5, O-* outputs and generally causing incompatibilities with tools. Migrating to responses should resolve all of this.

This can have a ton of side-effects and should have no impact on other providers who override the baseURL or the OpenAI SDK we use where we leverage completions instead.

Originally created by @timothycarambat on GitHub (Oct 1, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4465 ### What would you like to see? The [Responses API](https://platform.openai.com/docs/api-reference/responses/create) for OpenAI is useful since it paves over the nuances of model differences without us having to create cases for each model - which changes so often. The Agent provider for OpenAI is still using completions - breaking GPT-5, O-* outputs and generally causing incompatibilities with tools. Migrating to responses should resolve all of this. This can have a ton of side-effects and should have **no impact** on other providers who override the baseURL or the `OpenAI` SDK we use where we leverage `completions` instead.
yindo added the enhancementcore-team-onlyfeature request labels 2026-02-22 18:31:31 -05:00
yindo closed this issue 2026-02-22 18:31:31 -05:00
yindo changed title from [CHORE]: Migrate OpenAI `agent` provider to Responses API to [GH-ISSUE #4465] [CHORE]: Migrate OpenAI `agent` provider to Responses API 2026-06-05 14:48:51 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#2847