chore: update ollama model options

This commit is contained in:
jialin
2024-07-24 16:50:06 +08:00
parent 8097ba0df9
commit 729f7785f0
5 changed files with 41 additions and 60 deletions
+3 -41
View File
@@ -2,11 +2,11 @@ import { StatusMaps } from '@/config';
import { EditOutlined } from '@ant-design/icons';
export const ollamaModelOptions = [
{ label: 'llama3.1', value: 'llama3.1' },
{ label: 'llama3', value: 'llama3' },
{ label: 'gemma', value: 'gemma' },
{ label: 'gemma2', value: 'gemma2' },
{ label: 'mistral', value: 'mistral' },
{ label: 'qwen', value: 'qwen' },
{ label: 'llama2', value: 'llama2' },
{ label: 'qwen2', value: 'qwen2' },
{ label: 'phi3', value: 'phi3' },
{ label: 'codellama', value: 'codellama' },
{ label: 'deepseek-coder', value: 'deepseek-coder' }
@@ -71,41 +71,3 @@ export const ActionList = [
icon: EditOutlined
}
];
export const columns = [
{
title: 'models.name',
dataIndex: 'name',
key: 'name'
},
{
title: 'models.type',
dataIndex: 'type',
key: 'type'
},
{
title: 'models.source',
dataIndex: 'source',
key: 'source'
},
{
title: 'models.status',
dataIndex: 'status',
key: 'status'
},
{
title: 'models.createdat',
dataIndex: 'createdAt',
key: 'createdAt'
},
{
title: 'models.updatedat',
dataIndex: 'updatedAt',
key: 'updatedAt'
},
{
title: 'models.action',
dataIndex: 'action',
key: 'action'
}
];