mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-22 07:03:53 +08:00
update:移除阿里云即将下架的模型
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
-- 更新模型名称:qwen2.5-vl-3b-instruct 改为 qwen3.5-flash
|
||||
UPDATE `ai_model_config`
|
||||
SET `config_json` = JSON_SET(`config_json`, '$.model_name', 'qwen3.5-flash')
|
||||
WHERE `id` = 'VLLM_QwenVLVLLM'
|
||||
AND JSON_EXTRACT(`config_json`, '$.model_name') = 'qwen2.5-vl-3b-instruct';
|
||||
|
||||
-- 更新模型名称:qwen-turbo 改为 qwen-flash
|
||||
UPDATE `ai_model_config`
|
||||
SET `config_json` = JSON_SET(`config_json`, '$.model_name', 'qwen-flash')
|
||||
WHERE `id` = 'LLM_AliLLM'
|
||||
AND JSON_EXTRACT(`config_json`, '$.model_name') = 'qwen-turbo';
|
||||
|
||||
-- 更新备注:qwen-turbo 改为 qwen-flash
|
||||
UPDATE `ai_model_config`
|
||||
SET `remark` = REPLACE(`remark`, 'qwen-turbo', 'qwen-flash')
|
||||
WHERE `id` = 'LLM_AliLLM'
|
||||
AND `remark` LIKE '%qwen-turbo%';
|
||||
@@ -605,4 +605,11 @@ databaseChangeLog:
|
||||
changes:
|
||||
- sqlFile:
|
||||
encoding: utf8
|
||||
path: classpath:db/changelog/202604011545.sql
|
||||
path: classpath:db/changelog/202604011545.sql
|
||||
- changeSet:
|
||||
id: 202604161357
|
||||
author: hrz
|
||||
changes:
|
||||
- sqlFile:
|
||||
encoding: utf8
|
||||
path: classpath:db/changelog/202604161357.sql
|
||||
@@ -579,7 +579,7 @@ LLM:
|
||||
type: openai
|
||||
# 可在这里找到你的 api_key https://bailian.console.aliyun.com/?apiKey=1#/api-key
|
||||
base_url: https://dashscope.aliyuncs.com/compatible-mode/v1
|
||||
model_name: qwen-turbo
|
||||
model_name: qwen-flash
|
||||
api_key: 你的deepseek web key
|
||||
temperature: 0.7 # 温度值
|
||||
max_tokens: 500 # 最大生成token数
|
||||
@@ -714,7 +714,7 @@ VLLM:
|
||||
api_key: 你的api_key
|
||||
QwenVLVLLM:
|
||||
type: openai
|
||||
model_name: qwen2.5-vl-3b-instruct
|
||||
model_name: qwen3.5-flash
|
||||
url: https://dashscope.aliyuncs.com/compatible-mode/v1
|
||||
# 可在这里找到你的api key https://bailian.console.aliyun.com/?apiKey=1#/api-key
|
||||
api_key: 你的api_key
|
||||
|
||||
Reference in New Issue
Block a user