Feature: 首页概览添加第三方模型消费统计
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start by finding the homepage overview component in the Tauri frontend and the place where provider/model configuration (including third-party API keys) is stored. Then trace where third-party API calls are made, since call counts, input/output token usage and estimated cost have to be recorded there and persisted before any card can display them. The issue names no files or tests, and the optional trend chart plus the local-model exclusion rule make the scope open; “done” means the card appears only when a third-party model is configured and shows accurate per-model usage. Expect to read around the settings and provider layers first, and ask the maintainer about where usage data should live.
由索引模型根据 Issue 内容生成。
描述
💡 Feature Request
功能描述
如果配置了第三方模型(如 DeepSeek、OpenAI 等),希望在首页概览里能看到该模型的消费情况(如 API 调用次数、Token 用量、费用估算等)。
本地模型(如 Whisper 本地)不需要显示消费统计,因为没有 API 费用。
使用场景
- 用户可能配置了多个第三方 API key,想知道哪个用得比较多
- 帮助用户控制 API 费用,避免意外的高消费
- 提供一个直观的消费概览,不需要去第三方平台查账
建议实现
- 在首页概览区域新增一个「消费统计」卡片(仅在配置了第三方模型时显示)
- 展示:模型名称、调用次数、Token 用量(Input/Output)、估算费用
- 可选:按日/周/月的消费趋势图
备注
本地模型(Whisper 等)无需显示此卡片,因为不涉及 API 费用。
- 主要语言
- Rust
- 星标
- 3.7k
- 派生
- 349
- 平均合并
- 2 天 14 小时
- 30 天内合并 PR
- 97
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Open-Less/openless 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
[windows] 录音快捷键还不支持设置为ScrllLock键可能已有人在做 @HKLHaoBin 于 10 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 75/100
Open-Less/openless#1241 · 5 条评论 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 18/100
维护者通常 1 天内回复
-
[omni] 多模态模式开启翻译后,译文时有时无,或混在 JSON 字段里可能已有人在做 @Breadswim 于 3 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 52/100
维护者通常 1 天内回复
-
[omni] 多模态「验证」对 OpenAI gpt-audio-1.5 必然返回 400可能已有人在做 @Breadswim 于 3 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 58/100
维护者通常 1 天内回复
查看 Open-Less/openless 的全部 Issue
相似的 Issue
-
A-linter
难度 2/5 1-3 小时 新手友好度 73/100
oxc-project/oxc#28783 ·
维护者通常 1 天内回复
-
Substrait consumer doesn't recognise `shift_left` / `shift_right` from functions_arithmetic.yaml未关闭bug
难度 2/5 1-3 小时 新手友好度 76/100
apache/datafusion#27059 ·
维护者通常 1 天内回复
-
Bump calamine to 0.38: RUSTSEC-2026-0436 (CFB/OLE2 panic and unbounded allocation) fails cargo audit未关闭
难度 2/5 1-3 小时 新手友好度 70/100
docling-project/docling.rs#979 ·
维护者通常 1 天内回复
-
llm translation
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复