Repository navigation
[6211] 模型清单更新:deepseek 放开搜索,kimi base_url 迁移 kimi 路由族 - #4716
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
任务
6211:模型清单更新——deepseek 放开搜索 + kimi base_url 迁移 kimi 路由族。任务文档:LiiiLabs/dev-agent#109(
devel/6211.stem)。改动内容
仅
TeXmacs/plugins/llm/data/liii_llm_menu.json三处取值,C++/scheme 零改动:base_url:/api/v1/ai/siliconflow/chat→/api/v1/ai/kimi/chat。kimi 新路由族已随 I1 生产下发(infra initial support for Qt 6 #136),老路径 nginx 侧原样保留,存量老客户端不受影响。allow_search:false→true。PR-L3 后搜索链路对任意模型可用(阶段1 固定 kimi 编排、阶段2 当前模型回答),搜索按钮从隐藏变为可用。调研结论
chat_model_parse_list→info_from_entry(qt_chat_model.cpp)只消费allow_search键;清单中的"search"键无任何消费者(scheme 侧 chat-list.scm 的"search"属会话持久化 manifest,与模型清单无关),为历史遗留,本 PR 保留不删,清理另议。panel->searchButton()->setVisible(info.allowSearch)(qt_chat_controller.cpp)与请求地址(base_url 经 %chat 协议 params 流入chat-tab-resolve-base-url拼 site)均为数据驱动,无需代码改动。验证
xmake b qt_chat_model_test && xmake r qt_chat_model_test:23 个用例全部通过(清单解析单测,内联 fixture 不锁定真实清单取值,无需改动)。python3 -m json.tool校验。/api/v1/ai/kimi/chat;deepseek 会话出现搜索开关、开搜索提问触发联网搜索、切换模型开关状态符合 session 记忆):待手动验证,步骤见任务文档 3.1 节。