[GH-ISSUE #2413] [FEAT]: Update workspace model provider and model through API #1567

Closed
opened 2026-02-22 18:25:27 -05:00 by yindo · 1 comment
Owner

Originally created by @TinaHafezi on GitHub (Oct 3, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/2413

What would you like to see?

I would like to request the ability to configure different LLM models and providers for each workspace through the API. This feature would allow for greater flexibility and customization across workspaces, ensuring that each workspace can leverage the most suitable model and provider based on its specific requirements.

Originally created by @TinaHafezi on GitHub (Oct 3, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/2413 ### What would you like to see? I would like to request the ability to configure different LLM models and providers for each workspace through the API. This feature would allow for greater flexibility and customization across workspaces, ensuring that each workspace can leverage the most suitable model and provider based on its specific requirements.
yindo added the enhancementfeature request labels 2026-02-22 18:25:27 -05:00
yindo closed this issue 2026-02-22 18:25:27 -05:00
Author
Owner

@timothycarambat commented on GitHub (Oct 3, 2024):

This can be done via this endpoint: https://github.com/Mintplex-Labs/anything-llm/blob/93d64642f393848c9b895a5a46cdee7a2355aae6/server/swagger/openapi.json#L1604

Then in body:

{
chatProvider: "openai"
chatModel: "gpt-4o",
// or for agents
agentProvider: "openai",
agentModel: "gpt-4o-mini"
}

Writable fields: https://github.com/Mintplex-Labs/anything-llm/blob/93d64642f393848c9b895a5a46cdee7a2355aae6/server/models/workspace.js#L14-L29

@timothycarambat commented on GitHub (Oct 3, 2024): This can be done via this endpoint: https://github.com/Mintplex-Labs/anything-llm/blob/93d64642f393848c9b895a5a46cdee7a2355aae6/server/swagger/openapi.json#L1604 Then in body: ``` { chatProvider: "openai" chatModel: "gpt-4o", // or for agents agentProvider: "openai", agentModel: "gpt-4o-mini" } ``` Writable fields: https://github.com/Mintplex-Labs/anything-llm/blob/93d64642f393848c9b895a5a46cdee7a2355aae6/server/models/workspace.js#L14-L29
yindo changed title from [FEAT]: Update workspace model provider and model through API to [GH-ISSUE #2413] [FEAT]: Update workspace model provider and model through API 2026-06-05 14:41:28 -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#1567