Skip to content

Provider Hub v0.6.10

Choose a tag to compare

@HeWhenJay HeWhenJay released this 17 Aug 09:07

Connection and pricing correctness

  • Cancels non-2xx response bodies before failover so upstream connections are released.
  • Cost estimation now requires an explicit rate for every token category actually used; unknown categories are never treated as free.
  • Anthropic cache_read_input_tokens is handled as additive input and total tokens are kept internally consistent.
  • Startup/config-file modelPricing now uses the same normalization as management saves: numeric strings normalize, negative rates are rejected, and currencies uppercase/fallback consistently.

Verification

  • 98/98 tests passed.
  • Added non-2xx body cancellation, partial-pricing unknown-cost, Anthropic additive cache, and startup-pricing normalization tests.
  • Package dry-run, syntax and diff checks passed.

SHA-256: 4AA94AD30795CEC696F37BC8E3F1F5BBBA3FB867E0D03F551F988394C158F059