Files
Kilo-Org_kilocode/packages/opencode/test
kiloconnect[bot] c8073d9014 fix(cli): also extract Kilo cost from OpenAI Responses API responses
Refactor providerCost to read `usage.raw.cost_details.upstream_inference_cost`,
which both `@ai-sdk/anthropic` (`convertAnthropicUsage`) and `@ai-sdk/openai`
(`convertOpenAIResponsesUsage`) populate with the verbatim OpenRouter usage
object. This unifies the Anthropic Messages and OpenAI Responses cost paths
through a single branch and removes the redundant `metadata.anthropic.usage`
branch (the SDK exposes the same data under both keys for Anthropic, and only
under `raw` for Responses).
2026-05-07 14:51:18 +00:00
..
2026-05-06 12:13:06 +02:00
2026-05-06 21:32:26 +02:00
2026-04-11 13:25:06 -03:00
2026-05-06 21:32:26 +02:00
2026-05-06 21:32:26 +02:00
2026-05-06 21:32:26 +02:00
2026-05-06 12:13:06 +02:00
2026-04-30 16:25:46 +02:00
2026-05-06 21:32:26 +02:00
2026-05-05 14:44:11 -03:00
2026-05-06 21:32:26 +02:00
2026-05-06 21:32:26 +02:00
2026-05-05 16:30:24 -03:00
2026-05-06 21:32:26 +02:00
2026-05-06 12:13:06 +02:00
2026-05-06 12:13:06 +02:00
2026-05-06 21:32:26 +02:00
2026-05-06 12:13:06 +02:00
2026-05-06 12:13:06 +02:00