ui: prettyModelName zeigt Modellnamen für unbekannte Provider korrekt an
This commit is contained in:
1 parent
5ed910edcd
commit
d08a857492
1 file changed
+2
-1
@@ -60,7 +60,8 @@ function prettyModelName(model) {
|
||||
if (model == 'opus-4-6') return 'Opus 4.6';
|
||||
if (model == 'haiku') return 'Haiku';
|
||||
if (model == 'haiku-4-5') return 'Haiku 4.5';
|
||||
return 'Unbekannt (' + model + ')';
|
||||
const m = model.split(`:`);
|
||||
return m[m.length - 1];
|
||||
}
|
||||
|
||||
// ── Toast Notifications ──
|
||||
|
||||
Reference in new issue
Block a user