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

Create and Update Model Form #54

Merged
merged 6 commits into from
Aug 28, 2024
Merged

Create and Update Model Form #54

merged 6 commits into from
Aug 28, 2024

Conversation

estohlmann
Copy link
Member

Issue #, if available:

Description of changes:

Adding the ability for users to create/update models via the LISA app if they are admins. A quick demo of the form can be seen below. Note: there are still placeholder descriptions in some places.

output

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

HealthCheckConfig: IContainerHealthCheckConfig;
Environment?: Record<string, string>[];
};

export type IModel = {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll have to edit this in my PR, so don't worry about for now, but I'm also adding a "UniqueId" which is the UUID that comes from LiteLLM, which is how we'd eventually reference the model for modifications/mutations if we need to do anything from the LiteLLM perspective.

LoadBalancerConfig: ILoadBalancerConfig;
};

export type IModelRequest = {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No action to take, but also to note (primarily for myself), this will need to have the ModelUrl added as a potential field as well. In the case that we add something directly to LiteLLM and don't create the infrastructure for it, we'd need the ability to set the model URI too.

@estohlmann estohlmann merged commit a55ca13 into develop Aug 28, 2024
4 checks passed
@estohlmann estohlmann deleted the feat/create_model_form branch August 28, 2024 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants