mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2024-11-15 10:50:31 +01:00
1738 generic open ai agent (#1809)
* enable support for generic openAI as Agent provider
This commit is contained in:
parent
8b5d9ccdb3
commit
06fb9bdd99
@ -7,6 +7,7 @@ export const DISABLED_PROVIDERS = [
|
|||||||
"lmstudio",
|
"lmstudio",
|
||||||
"native",
|
"native",
|
||||||
"textgenwebui",
|
"textgenwebui",
|
||||||
|
"generic-openai",
|
||||||
];
|
];
|
||||||
const PROVIDER_DEFAULT_MODELS = {
|
const PROVIDER_DEFAULT_MODELS = {
|
||||||
openai: [],
|
openai: [],
|
||||||
@ -46,6 +47,7 @@ const PROVIDER_DEFAULT_MODELS = {
|
|||||||
"command-light-nightly",
|
"command-light-nightly",
|
||||||
],
|
],
|
||||||
textgenwebui: [],
|
textgenwebui: [],
|
||||||
|
"generic-openai": [],
|
||||||
};
|
};
|
||||||
|
|
||||||
// For togetherAi, which has a large model list - we subgroup the options
|
// For togetherAi, which has a large model list - we subgroup the options
|
||||||
|
@ -20,8 +20,8 @@ const ENABLED_PROVIDERS = [
|
|||||||
"mistral",
|
"mistral",
|
||||||
"perplexity",
|
"perplexity",
|
||||||
"textgenwebui",
|
"textgenwebui",
|
||||||
|
"generic-openai",
|
||||||
// TODO: More agent support.
|
// 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
|
// "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.
|
// "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.
|
// "gemini", // Too rate limited and broken in several ways to use for agents.
|
||||||
|
Loading…
Reference in New Issue
Block a user