Refactor model info UI

This commit is contained in:
dwrz
2026-11-02 03:25:54 +00:00
parent a4cc2d31ba
commit 7224a2e573
4 changed files with 21 additions and 23 deletions
+3 -2
View File
@@ -820,14 +820,15 @@ export class UI {
/**
* _updateComposeModelLabel sets the text and hover title of the
* compose bar's model indicator to the active provider/model.
* footer status bar's model indicator to the active provider and model.
* @private
*/
_updateComposeModelLabel() {
const { provider, model } = this.getSelectedModel();
const label = provider && model ? `${provider}/${model}` : '';
const label = provider && model ? `${provider} • ${model}` : '';
this.$composeModelLabel.textContent = label;
this.$composeModelLabel.title = label;
this.$composeModelLabel.hidden = !label;
}
/**