Skip to content
Snippets Groups Projects
Unverified Commit 06fb9bdd authored by Timothy Carambat's avatar Timothy Carambat Committed by GitHub
Browse files

1738 generic open ai agent (#1809)

* enable support for generic openAI as Agent provider
parent 8b5d9ccd
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,7 @@ export const DISABLED_PROVIDERS = [ ...@@ -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 = { ...@@ -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 = [ ...@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment