update:移除阿里云即将下架的模型

This commit is contained in:
hrz
2026-04-16 16:42:34 +08:00
parent ac9083cfc7
commit e20c59e3df
9 changed files with 39 additions and 15 deletions
@@ -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