1738 generic open ai agent (#1809)

* enable support for generic openAI as Agent provider
This commit is contained in:
Timothy Carambat 2024-07-03 15:17:53 -07:00 committed by GitHub
parent 8b5d9ccdb3
commit 06fb9bdd99
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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.