@xynogen/pix-models 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/models.ts +3 -2
package/package.json
CHANGED
package/src/models.ts
CHANGED
|
@@ -179,8 +179,9 @@ async function showEnhancedPicker(
|
|
|
179
179
|
let rankPrefix: string;
|
|
180
180
|
if (localRank) {
|
|
181
181
|
const rankStr = String(localRank).padEnd(maxRankWidth);
|
|
182
|
-
|
|
183
|
-
|
|
182
|
+
// Color rank by the model's bench score (same scale as ⚡score),
|
|
183
|
+
// not by list position — keeps the two colors consistent.
|
|
184
|
+
const rankColor = benchScoreColor(bench?.overallScore);
|
|
184
185
|
rankPrefix = mute("#") + theme.fg(rankColor, rankStr);
|
|
185
186
|
} else {
|
|
186
187
|
rankPrefix = " ".repeat(maxRankWidth + 1);
|