Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Anything Llm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mirrored_repos
MachineLearning
Mintplex Labs
Anything Llm
Commits
06fb9bdd
Unverified
Commit
06fb9bdd
authored
8 months ago
by
Timothy Carambat
Committed by
GitHub
8 months ago
Browse files
Options
Downloads
Patches
Plain Diff
1738 generic open ai agent (#1809)
* enable support for generic openAI as Agent provider
parent
8b5d9ccd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
frontend/src/hooks/useGetProvidersModels.js
+2
-0
2 additions, 0 deletions
frontend/src/hooks/useGetProvidersModels.js
frontend/src/pages/WorkspaceSettings/AgentConfig/AgentLLMSelection/index.jsx
+1
-1
1 addition, 1 deletion
...WorkspaceSettings/AgentConfig/AgentLLMSelection/index.jsx
with
3 additions
and
1 deletion
frontend/src/hooks/useGetProvidersModels.js
+
2
−
0
View file @
06fb9bdd
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
frontend/src/pages/WorkspaceSettings/AgentConfig/AgentLLMSelection/index.jsx
+
1
−
1
View file @
06fb9bdd
...
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment