Skip to content

fix: omit LLM cost_estimate from ZIP manifests - #338

Merged
EricNGOntos merged 1 commit into
mainfrom
feat/wuchengke/2026-08-27
Aug 27, 2026
Merged

EricNGOntos merged 1 commit into
mainfrom
feat/wuchengke/2026-08-27

Conversation

@EricNGOntos

Copy link
Copy Markdown
Contributor

Summary

  • Remove processing.cost_estimate from production ZIP manifest generation.
  • Keep local debug manifest.json enriched with LLM cost via enrich_manifest_with_token_cost_estimate.
  • Strip any residual cost fields before writing manifest into ZIP packages (production and debug production_result.zip).

Test plan

  • make check
  • pytest packages/shared-python/shared/tests/test_zip_manifest_schema.py
  • pytest apps/worker/tests/unit/test_debug_text_track_token_ledger.py

Made with Cursor

Production and debug ZIP packages no longer embed token cost estimates.
Local debug manifests still enrich cost_estimate for operator inspection;
ZipResultService strips any residual cost fields before writing manifest.json.

Co-authored-by: Cursor <cursoragent@cursor.com>
@EricNGOntos
EricNGOntos merged commit 79317ab into main Aug 27, 2026
6 checks passed
@EricNGOntos
EricNGOntos deleted the feat/wuchengke/2026-08-27 branch August 27, 2026 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant