litellm/litellm-rust/crates/inference-messages/tests
yujonglee 05cf428761
feat(rust): settle EdenAI Messages reported cost (#45698)
* feat(edenai): settle native Messages reported cost

* test(rust): add live EdenAI Messages contract cases

* refactor(rust): settle call cost once as an ExecutionFacts variant

The route now decides Cost (Reported, CacheHit or Deferred) from the
result source and the provider's reported figure. The legacy callback
adapter only projects a Reported amount onto provider_reported_cost and
no longer writes response_cost, which the Python calculator derives

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* refactor(rust): keep EdenAI wire shaping independent of Invoke

* style(rust): format cost settlement imports

* fix(rust): trust provider costs without bypassing configured pricing

* fix(rust): clear untrusted response costs before spend settlement

---------

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-12 17:39:08 -07:00
..
bedrock_native feat(rust): add native Bedrock Claude Platform and Mantle Messages (#45908) 2026-10-11 15:55:47 -07:00
live feat(rust): settle EdenAI Messages reported cost (#45698) 2026-10-12 17:39:08 -07:00
messages feat(rust): settle EdenAI Messages reported cost (#45698) 2026-10-12 17:39:08 -07:00
openrouter feat(rust): add native OpenRouter Messages (#45910) 2026-10-11 15:48:50 -07:00
support refactor(rust): extract inference-testing crate (#44873) 2026-10-06 16:33:06 +00:00
caching.rs feat(rust): settle EdenAI Messages reported cost (#45698) 2026-10-12 17:39:08 -07:00
live.rs feat(rust): settle EdenAI Messages reported cost (#45698) 2026-10-12 17:39:08 -07:00