Skip to content

Fix DeepSeek billing source breakdown / 修复 DeepSeek 费用来源拆分#4280

Merged
esengine merged 5 commits into
main-v2from
fix/billing-source-breakdown
Jun 15, 2026
Merged

Fix DeepSeek billing source breakdown / 修复 DeepSeek 费用来源拆分#4280
esengine merged 5 commits into
main-v2from
fix/billing-source-breakdown

Conversation

@SivanCola

Copy link
Copy Markdown
Collaborator

Summary

  • Add DeepSeek per-model V4 pricing and backfill official provider configs.
  • Track billable usage sources across executor, planner, subagent, compaction, classifier, and title calls.
  • Show source-level cost breakdown in the desktop context panel, with browser-dev mock data for visual review.

Tests

  • go test ./...
  • go test ./... from desktop/
  • pnpm --dir desktop/frontend check:css
  • pnpm --dir desktop/frontend test
  • pnpm --dir desktop/frontend typecheck
  • pnpm --dir desktop/frontend test:typecheck

@SivanCola SivanCola requested a review from esengine as a code owner June 13, 2026 10:15
@github-actions github-actions Bot added v2 Go rewrite (1.x) — main-v2 branch, active development desktop Wails desktop app (desktop/**) agent Core agent loop (internal/agent, internal/control) config Configuration & setup (internal/config) provider Model providers & selection (internal/provider) labels Jun 13, 2026
@SivanCola

Copy link
Copy Markdown
Collaborator Author

approve

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 69ed2daa24

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread desktop/tabs.go Outdated
Comment thread desktop/frontend/src/lib/useController.ts
Resolve PR #4280 conflicts by preserving billing usage-source attribution alongside live reasoning-language propagation for sub-agent runs.

Co-authored-by: SivanCola <32437197+SivanCola@users.noreply.github.com>
@SivanCola SivanCola enabled auto-merge June 14, 2026 13:23
@SivanCola

Copy link
Copy Markdown
Collaborator Author

Resolved the merge conflict in 7a3cae1.

What changed:

  • Merged current main-v2 into the PR branch.
  • Kept both the DeepSeek per-model pricing tests and the MiMo provider backfill tests in internal/config/backfill_test.go.

Verified:

  • go test ./internal/config
  • go test ./...
  • pnpm --dir desktop/frontend test:all
  • pnpm --dir desktop/frontend build

…-breakdown

# Conflicts:
#	internal/config/config.go
@esengine esengine merged commit a029618 into main-v2 Jun 15, 2026
13 checks passed
@esengine esengine deleted the fix/billing-source-breakdown branch June 15, 2026 04:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent Core agent loop (internal/agent, internal/control) config Configuration & setup (internal/config) desktop Wails desktop app (desktop/**) provider Model providers & selection (internal/provider) v2 Go rewrite (1.x) — main-v2 branch, active development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants