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
|
||||
Reference in New Issue
Block a user