mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-30 05:23:42 +00:00
Address review: distinguish unknown pricing from an intentional free price. A turn's all-zero cost is treated as unknown (counted toward missingCostEntries) only when the operator did NOT explicitly configure the model's price under models.providers -- i.e. the zero is a generated-catalog default (codex/gpt-5.x), not a deliberate $0. Operator-configured zero-cost models keep reporting a complete $0. Adds resolveConfiguredModelCost() to read config-only pricing, and regression tests for both paths (unconfigured unknown -> missing; configured free -> $0). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>