mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-25 14:55:28 +00:00
Verifies the new Usage mapper code against live provider responses for
OpenAI Chat, OpenAI Responses, Anthropic, Gemini, DeepSeek, and
TogetherAI — 16 fresh recordings, all assertions pass. No existing
cassettes were modified; these populate test slots that were previously
skipped in replay mode.
Recorded via:
set -a; source .env.recorded.local; set +a
RECORD=true bun test test/provider/*.recorded.test.ts
Redactor stripped all auth headers; no secrets in the cassettes.
|
||
|---|---|---|
| .. | ||
| fixtures/recordings | ||
| lib | ||
| provider | ||
| adapter.test.ts | ||
| auth-options.types.ts | ||
| auth.test.ts | ||
| endpoint.test.ts | ||
| executor.test.ts | ||
| exports.test.ts | ||
| generate-object.test.ts | ||
| llm.test.ts | ||
| provider.types.ts | ||
| recorded-golden.ts | ||
| recorded-runner.ts | ||
| recorded-scenarios.ts | ||
| recorded-test.ts | ||
| recorded-utils.ts | ||
| recorded-websocket.ts | ||
| schema.test.ts | ||
| tool-runtime.test.ts | ||
| tool-stream.test.ts | ||
| tool.types.ts | ||