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 Request: Manage model through UI instead of updating .env.local #1286

Open
TriEyeMonster opened this issue Jun 14, 2024 · 4 comments
Labels
back This issue is related to the Svelte backend or the DB enhancement New feature or request

Comments

@TriEyeMonster
Copy link

Since the website will be running in a production environment, it will be better that admin is able add or remove model through UI instead of a production deployment for a minor .env.local update.

@TriEyeMonster TriEyeMonster changed the title Feature Request: Manage model through UI instead of .env.local Feature Request: Manage model through UI instead of updating .env.local Jun 14, 2024
@nsarrazin
Copy link
Collaborator

Yeah that would be definitely be nice, I think it was on our roadmap a while ago but never got prioritized. If there's strong demand we could try to tackle this! It would make life a lot easier for self-hosting users.

@nsarrazin nsarrazin added enhancement New feature or request back This issue is related to the Svelte backend or the DB labels Jun 17, 2024
@TriEyeMonster
Copy link
Author

Yeah, this is a essential feature if we want to make it more product ready.

@widyaageng
Copy link

+1 for prioritisation.

@neven4
Copy link
Contributor

neven4 commented Jun 26, 2024

@nsarrazin how do you think we should handle endpoints array in the Modal collection? Currently, we have a union of Endpoint types (I think it will be hard to create one unified collection from them).

So,

  • do we want to have an additional mongo collection for each endpoint type (with their own schema): AwsEndpointSchema, OpenaiEndpointSchema, AnthropicEndpointSchema
  • or, just create a collection with type (aws, openai, anthropic) and json (each endpoint schema will have it's own structure) and validate it from the frontend side (like we do right now)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back This issue is related to the Svelte backend or the DB enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants