Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

fix(models): restore model list to main behavior

fmfsaisaib76bc2c87933
diff --git a/apps/desktop/src/renderer/components/settings/UnifiedModelList.tsx b/apps/desktop/src/renderer/components/settings/UnifiedModelList.tsx
index 80145ffecf..8b6366adf8 100644
--- a/apps/desktop/src/renderer/components/settings/UnifiedModelList.tsx
+++ b/apps/desktop/src/renderer/components/settings/UnifiedModelList.tsx
@@ -991,7 +991,8 @@ export function UnifiedModelList({
是用来在读到某个模型名时顺手知道它贵不贵。拿不到报价就整个
不渲染 —— 不画假的「$」也不画「—」。 */}
{(() => {
- if (rep.displayPricing) return null;
+ // Mixed-unit quotes are shown in the existing model details only.
+ if (rep.displayPricing && rep.currency) return null;
const display = rowPriceDisplay(row);
if (!display) return null;
if (display.kind === 'free') {