Status line: show model catalog display name (name) when available #570
MitterMeierGithub
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
English TL;DR
The status line always shows the raw model id (e.g.
deepseek-v4-flash);it should show the model catalog's display name (
name) when available(e.g.
deepseek-v4-flash (go)), falling back to the raw id otherwise.Display-only change — routing, request headers, session logs and
{{model}}interpolation keep using the raw
provider/id.现状(中文)
/model选择器里模型显示的是目录中的显示名name(例如
deepseek-v4-flash (go)),但状态栏始终只显示原始模型 id/model选择器里模型显示的是目录中的显示名name(例如
deepseek-v4-flash (go)),但状态栏始终只显示原始模型 id(
channel.model,例如deepseek-v4-flash)。/model选择器里模型显示的是目录中的显示名name(例如
deepseek-v4-flash (go)),但状态栏始终只显示原始模型 id(
channel.model,例如deepseek-v4-flash)。期望
当模型的目录条目带有
name(显示名)时,状态栏显示它;没有name时回退显示原始 id。例如:
deepseek-v4-flashdeepseek-v4-flash (go)实现思路(供参考)
listModels()→ 按provider/id匹配 → 取name字段model字段渲染modelName ?? model纯显示层改动:路由、请求头、会话日志、
{{model}}插值仍使用原始provider/id,不影响任何行为。补充
本地已经用 patch 实现了一版(StatusLine + channel 层
modelName解析,在
bindAgent里刷新)。如果方案被认可,愿意整理成 PR 提交。All reactions