Skip to content

fix: align default pricing values with config.yaml#176

Open
jcabrero wants to merge 1 commit intomainfrom
fix/default-pricing-values
Open

fix: align default pricing values with config.yaml#176
jcabrero wants to merge 1 commit intomainfrom
fix/default-pricing-values

Conversation

@jcabrero
Copy link
Member

@jcabrero jcabrero commented Mar 23, 2026

Summary

  • Changed LLMPriceConfig hardcoded defaults from 2.0/2.0 to 0.15/0.45 for prompt_tokens_price and completion_tokens_price respectively
  • These defaults now match config.yaml and the values expected by e2e pricing tests (test_pricing.py)
  • web_search_cost default was already correct at 0.05

Test plan

  • Rust workspace checks pass (cargo check, cargo clippy, cargo test)
  • E2e pricing tests pass (requires Docker services)

🤖 Generated with Claude Code

The LLMPriceConfig defaults (2.0/2.0) did not match config.yaml
(0.15/0.45), causing e2e pricing tests to fail when falling back
to hardcoded defaults for unknown models.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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