Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Add Easy way for End-Users to Update Agent/AI Providers List #559

Open
aliasfoxkde opened this issue Dec 5, 2024 · 3 comments
Open
Labels
enhancement New feature or request

Comments

@aliasfoxkde
Copy link
Collaborator

Is your feature request related to a problem? Please describe:
Adding providers has to be done by developers knowledgeable of the codebase.

I think that the PROVIDER_LIST should be separated from the constrants.ts logic (into a JSON file) and a simple popup UI editor should be made to make adding more providers easy for anyone. This option should be available on the landing page (near the model drop down).

Describe the solution you'd like:

Add an Easy way for End-Users to Update Agent/AI Providers List

Describe alternatives you've considered:
Or leave things the way they are. Put more pressure on keeping up with this as a development feature, lol.

Additional context:

If the idea gets interest, I'll mockup something or make an icon for it. After that, I'd be fine with developing the feature.

Thoughts?

@aliasfoxkde
Copy link
Collaborator Author

It's also worth noting that the arbitrary maxTokenAllowed limit of "8000" set in constants.ts file may cause issues, as already seen in #564 . So it probably be better to handle this with a global default and only explicitly set if needed (as an overwrite basically).

@aliasfoxkde
Copy link
Collaborator Author

Is your feature request related to a problem? Please describe:
Adding providers has to be done by developers knowledgeable of the codebase.

It appears a core developer is already working on this and has a PR in for it.

@thecodacus
Copy link
Collaborator

for openai compatible api its possible to do so. but for custom one its difficult to make it only a json as the output format might be different. also the api signature might be different. for this to happen we need plugins system which is in the roadmap

@thecodacus thecodacus added the enhancement New feature or request label Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants