mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-27 04:49:47 +01:00
fix:deepseek模型名称更改为deepseek-v4-flash
This commit is contained in:
parent
50895d6e33
commit
a269953787
3 changed files with 12 additions and 1 deletions
|
|
@ -0,0 +1,4 @@
|
||||||
|
UPDATE `ai_model_config`
|
||||||
|
SET `config_json` = JSON_SET(`config_json`, '$.model_name', 'deepseek-v4-flash')
|
||||||
|
WHERE `id` = 'LLM_DeepSeekLLM'
|
||||||
|
AND JSON_EXTRACT(`config_json`, '$.model_name') = 'deepseek-chat';
|
||||||
|
|
@ -718,3 +718,10 @@ databaseChangeLog:
|
||||||
- sqlFile:
|
- sqlFile:
|
||||||
encoding: utf8
|
encoding: utf8
|
||||||
path: classpath:db/changelog/202607290930.sql
|
path: classpath:db/changelog/202607290930.sql
|
||||||
|
- changeSet:
|
||||||
|
id: 202608061000
|
||||||
|
author: cgd
|
||||||
|
changes:
|
||||||
|
- sqlFile:
|
||||||
|
encoding: utf8
|
||||||
|
path: classpath:db/changelog/202608061030.sql
|
||||||
|
|
|
||||||
|
|
@ -649,7 +649,7 @@ LLM:
|
||||||
# 定义LLM API类型
|
# 定义LLM API类型
|
||||||
type: openai
|
type: openai
|
||||||
# 可在这里找到你的api key https://platform.deepseek.com/
|
# 可在这里找到你的api key https://platform.deepseek.com/
|
||||||
model_name: deepseek-chat
|
model_name: deepseek-v4-flash
|
||||||
url: https://api.deepseek.com
|
url: https://api.deepseek.com
|
||||||
api_key: 你的deepseek web key
|
api_key: 你的deepseek web key
|
||||||
ChatGLMLLM:
|
ChatGLMLLM:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue