暂时移除了 Lite model

This commit is contained in:
Wenjie Zhang 2025-04-09 12:20:14 +08:00
parent 3fb11d6f9c
commit fbf65328f2
2 changed files with 2 additions and 3 deletions

View File

@ -51,7 +51,7 @@ DEEPSEEK_API_KEY=<API_KEY> # 如果配置 DeepSeek 添加此行,并替换 API
ZHIPUAI_API_KEY=<API_KEY> # 如果配置 智谱清言 添加此行,并替换 API_KEY
```
需要确保账户有一点点额度供调用,或使用这个链接注册[SiliconFlow 注册(含邀请码)](https://cloud.siliconflow.cn/i/Eo5yTHGJ)或者14元的赠送额度。
需要确保账户有一点点额度供调用,或使用这个链接注册[SiliconFlow 注册(含邀请码)](https://cloud.siliconflow.cn/i/Eo5yTHGJ)获得 14 元的赠送额度。
> 本项目的基础对话服务可在不含显卡的设备上运行,大模型使用在线服务商的接口。

View File

@ -407,7 +407,7 @@ const groupRefs = (id) => {
const simpleCall = (msg) => {
return new Promise((resolve, reject) => {
fetch('/api/chat/call_lite', {
fetch('/api/chat/call', {
method: 'POST',
body: JSON.stringify({ query: msg, }),
headers: { 'Content-Type': 'application/json' }
@ -656,7 +656,6 @@ const selectModel = (provider, name) => {
configStore.setConfigValue('model_provider', provider)
configStore.setConfigValue('model_name', name)
message.success(`已切换到模型: ${provider}/${name}`)
}
</script>