mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2025-04-17 18:18:11 +00:00
1738 generic open ai agent (#1809)
* enable support for generic openAI as Agent provider
This commit is contained in:
parent
8b5d9ccdb3
commit
06fb9bdd99
2 changed files with 3 additions and 1 deletions
frontend/src
|
@ -7,6 +7,7 @@ export const DISABLED_PROVIDERS = [
|
|||
"lmstudio",
|
||||
"native",
|
||||
"textgenwebui",
|
||||
"generic-openai",
|
||||
];
|
||||
const PROVIDER_DEFAULT_MODELS = {
|
||||
openai: [],
|
||||
|
@ -46,6 +47,7 @@ const PROVIDER_DEFAULT_MODELS = {
|
|||
"command-light-nightly",
|
||||
],
|
||||
textgenwebui: [],
|
||||
"generic-openai": [],
|
||||
};
|
||||
|
||||
// For togetherAi, which has a large model list - we subgroup the options
|
||||
|
|
|
@ -20,8 +20,8 @@ const ENABLED_PROVIDERS = [
|
|||
"mistral",
|
||||
"perplexity",
|
||||
"textgenwebui",
|
||||
"generic-openai",
|
||||
// TODO: More agent support.
|
||||
// "generic-openai", // Need to support text-input for agent model input for this to be enabled.
|
||||
// "cohere", // Has tool calling and will need to build explicit support
|
||||
// "huggingface" // Can be done but already has issues with no-chat templated. Needs to be tested.
|
||||
// "gemini", // Too rate limited and broken in several ways to use for agents.
|
||||
|
|
Loading…
Add table
Reference in a new issue