makecindy / makecindy/cindy

维护者确认:自定义 Provider SDK 费用默认隐藏(PR #2878)

Open
#2,884 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.7k
Forks
395
Avg merge
21h 48m
Merged PRs (30d)
776

Description

## 触发

`fix(desktop): hide custom provider SDK costs by default` 修改了桌面端 UI 路径(`ProvidersSection.tsx` / `CustomProviderBillingSection.tsx` 等),命中 product 确认门。

## 变更要点

自定义 Provider 的 SDK 费用是服务端自行上报、Cindy 无法控制计价规则,金额可能与服务商账单不一致。本 PR 将自定义 Provider 默认改为仅展示输入 / 输出 / 总 Token,并在「设置 → Providers」保留一个默认关闭的「显示 SDK 上报费用」开关(开启旁有风险提示)。

判定为产品行为变化(默认展示策略调整 + 新增设置开关),自动流程不代跑放行,需要维护者确认。

## 确认方式

- 认可此默认策略:直接在 PR 上 Approve,放行后自动流程继续审查合并;
- 需要修改:Request Changes 说明,作者改完后再 Approve 即放行。

---
关联 PR:#2878(作者 @A1aZ);本 issue 由 review-pr 流程自动创建,用于先讨论该 PR 涉及的产品 / UI 变更,维护者确认后 PR 会恢复推进。

Contributor guide

Open the contributing guide

Research direction

Review PR #2878 and start with ProvidersSection.tsx and CustomProviderBillingSection.tsx to understand the desktop UI changes. Confirm that the default display behavior and the Providers setting match the described product decision; done means approving the PR or requesting specific changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
desktop, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.