chore: version info modal

This commit is contained in:
jialin
2024-07-12 12:06:17 +08:00
parent c5327d3e56
commit 320db56fbe
38 changed files with 334 additions and 108 deletions
+4 -1
View File
@@ -15,7 +15,10 @@ export const ollamaModelOptions = [
export const modelSourceMap: Record<string, string> = {
huggingface: 'Hugging Face',
ollama_library: 'Ollama Library',
s3: 'S3'
s3: 'S3',
huggingface_value: 'huggingface',
ollama_library_value: 'ollama_library',
s3_value: 's3'
};
export const InstanceStatusMap = {
+2
View File
@@ -2,6 +2,8 @@ export interface ListItem {
source: string;
huggingface_repo_id: string;
huggingface_file_name: string;
huggingface_filename: string;
ollama_library_model_name: string;
s3Address: string;
name: string;
description: string;