mirror of
https://github.com/Jerryplusy/crystelf-plugin.git
synced 2025-07-04 14:19:19 +00:00
模型列表
This commit is contained in:
parent
4cc09172ea
commit
2361ab74f7
@ -2,21 +2,11 @@
|
|||||||
"debug": true,
|
"debug": true,
|
||||||
"core": true,
|
"core": true,
|
||||||
"mode": "deepseek",
|
"mode": "deepseek",
|
||||||
"model_type": "deepseek-ai/DeepSeek-V3",
|
"modelType": "deepseek-ai/DeepSeek-V3",
|
||||||
"model_list": {
|
"historyLength": 3,
|
||||||
"deepseek-ai/DeepSeek-V3": "V3",
|
"maxLength": 3,
|
||||||
"deepseek-ai/DeepSeek-R1": "R1",
|
"chatTemperature": 1,
|
||||||
"deepseek-ai/DeepSeek-R1-Distill-Llama-8B": "L8b",
|
"pluginTemperature": 0.5,
|
||||||
"Qwen/Qwen2.5-7B-Instruct": "Q7b",
|
|
||||||
"internlm/internlm2_5-7b-chat": "I7b",
|
|
||||||
"THUDM/glm-4-9b-chat": "G9b",
|
|
||||||
"deepseek-ai/DeepSeek-R1-Distill-Qwen-14B": "Q14b",
|
|
||||||
"deepseek-ai/DeepSeek-R1-Distill-Llama-70B": "L70b",
|
|
||||||
"deepseek-ai/DeepSeek-R1-Distill-Qwen-32B": "Q32b"
|
|
||||||
},
|
|
||||||
"default_history_length": 3,
|
|
||||||
"default_max_length": 3,
|
|
||||||
"default_temperature": 1,
|
|
||||||
"nickName": "寄气人",
|
"nickName": "寄气人",
|
||||||
"checkChat": {
|
"checkChat": {
|
||||||
"rdNum": 2,
|
"rdNum": 2,
|
||||||
@ -27,7 +17,10 @@
|
|||||||
"blackGroups": [
|
"blackGroups": [
|
||||||
114,
|
114,
|
||||||
514
|
514
|
||||||
|
],
|
||||||
|
"enableGroups": [
|
||||||
|
11115
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"max_message_length": 100
|
"maxMessageLength": 100
|
||||||
}
|
}
|
28
constants/aiModels.js
Normal file
28
constants/aiModels.js
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
const aiModels = {
|
||||||
|
openai: {
|
||||||
|
gpt3: 'text-davinci-003',
|
||||||
|
gpt4: 'gpt-4',
|
||||||
|
gpt35_turbo: 'gpt-3.5-turbo',
|
||||||
|
},
|
||||||
|
|
||||||
|
deepseek: {
|
||||||
|
r1: 'deepseek-ai/DeepSeek-R1',
|
||||||
|
v3: 'deepseek-ai/DeepSeek-V3',
|
||||||
|
r1_distill_Qwen_32b: 'deepseek-ai/DeepSeek-R1-Distill-Qwen-32B', //1.26
|
||||||
|
r1_distill_Qwen_14b: 'deepseek-ai/DeepSeek-R1-Distill-Qwen-14B', //0.7
|
||||||
|
},
|
||||||
|
|
||||||
|
THUDM: {
|
||||||
|
GLM4_32b: 'THUDM/GLM-4-32B-0414', // 1.89/M tokens
|
||||||
|
GLMZ1_32b: 'THUDM/GLM-Z1-32B-0414', // 4/M tokens
|
||||||
|
GLM4_9b: 'THUDM/GLM-4-9B-0414', //free
|
||||||
|
},
|
||||||
|
|
||||||
|
Qwen: {
|
||||||
|
Qwen25VL_32b: 'Qwen/Qwen2.5-VL-32B-Instruct', // 视觉
|
||||||
|
QwenQ_32b: 'Qwen/QwQ-32B', //4/M tokens
|
||||||
|
Qwen25_72b: 'Qwen/Qwen2.5-72B-Instruct-128K', //4.13
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
export default aiModels;
|
@ -45,7 +45,7 @@ class OllamaChat {
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
const aiResponse = response.data?.choices[o]?.text || '';
|
const aiResponse = response.data?.choices[0]?.text || '';
|
||||||
|
|
||||||
return {
|
return {
|
||||||
success: true,
|
success: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user