opencode/packages/llm/test
Kit Langton d048bd6f4b test(llm): re-record golden scenarios against live providers
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.
2026-05-10 22:03:02 -04:00
..
fixtures/recordings test(llm): re-record golden scenarios against live providers 2026-05-10 22:03:02 -04:00
lib Add native LLM core foundation (#24712) 2026-05-08 16:56:20 -04:00
provider refactor(llm): rename Usage.native to providerMetadata 2026-05-10 21:42:09 -04:00
adapter.test.ts Add explicit LLM stream lifecycle events (#26722) 2026-05-10 12:19:13 -04:00
auth-options.types.ts Add native LLM core foundation (#24712) 2026-05-08 16:56:20 -04:00
auth.test.ts Add native LLM core foundation (#24712) 2026-05-08 16:56:20 -04:00
endpoint.test.ts chore: generate 2026-05-08 20:57:36 +00:00
executor.test.ts Add native LLM core foundation (#24712) 2026-05-08 16:56:20 -04:00
exports.test.ts Add native LLM core foundation (#24712) 2026-05-08 16:56:20 -04:00
generate-object.test.ts chore: generate 2026-05-08 20:57:36 +00:00
llm.test.ts Add explicit LLM stream lifecycle events (#26722) 2026-05-10 12:19:13 -04:00
provider.types.ts Add native LLM core foundation (#24712) 2026-05-08 16:56:20 -04:00
recorded-golden.ts Add native LLM core foundation (#24712) 2026-05-08 16:56:20 -04:00
recorded-runner.ts Add native LLM core foundation (#24712) 2026-05-08 16:56:20 -04:00
recorded-scenarios.ts Add native LLM core foundation (#24712) 2026-05-08 16:56:20 -04:00
recorded-test.ts refactor(http-recorder): hide cassette format behind Cassette seam (#26725) 2026-05-10 12:29:55 -04:00
recorded-utils.ts Add native LLM core foundation (#24712) 2026-05-08 16:56:20 -04:00
recorded-websocket.ts feat(http-recorder): default mode to "auto" (#26719) 2026-05-10 16:05:11 +00:00
schema.test.ts refactor(llm): inclusive total + non-overlapping breakdown for Usage 2026-05-10 20:39:22 -04:00
tool-runtime.test.ts Add native LLM core foundation (#24712) 2026-05-08 16:56:20 -04:00
tool-stream.test.ts Add native LLM core foundation (#24712) 2026-05-08 16:56:20 -04:00
tool.types.ts Add native LLM core foundation (#24712) 2026-05-08 16:56:20 -04:00