qwen-code/packages/web-shell/client/utils/modelDisplay.ts
ytahdn a384c4a21a
feat(web-shell): polish chat UI (#5893)
* style(web-shell): polish chat UI

* fix(web-shell): address chat polish review feedback

---------

Co-authored-by: ytahdn <ytahdn@gmail.com>
2026-06-26 15:38:23 +00:00

3 lines
110 B
TypeScript

export function getModelDisplayName(modelId: string): string {
return modelId.replace(/\([^()]+\)$/, '');
}