opencode/packages/llm/test/provider
Aiden Cline 5d87c7ad1f refactor(llm): remove the provider-error stream event
Delete the provider-error LLMEvent so streams carry output only and
every provider-reported failure exits through the typed error channel.
Anthropic SSE error events, OpenAI Responses response.failed/error
events, and Bedrock exception frames now fail the stream with an
LLMError from the shared classifier (carrying the provider code, e.g.
rate_limit_exceeded -> LLM.RateLimit).

Core follows: the publisher drops its provider-error case, the runner
drops held-back overflow events (overflow recovery keys off a thrown
LLM.ContextOverflow), compaction and title stop scanning events for
failures, and isContextOverflowFailure is deleted with its last
consumer. V1 packages/opencode gets minimal compile fixes only (dead
switch case, one test stream).
2026-07-13 12:22:30 -05:00
..
anthropic-messages-cache.recorded.test.ts feat(http-recorder): prepare public beta release (#31018) 2026-06-06 03:01:26 +00:00
anthropic-messages.recorded.test.ts refactor(llm): replace LLMError reasons with flat tagged union 2026-07-13 12:21:21 -05:00
anthropic-messages.test.ts refactor(llm): remove the provider-error stream event 2026-07-13 12:22:30 -05:00
bedrock-converse-cache.recorded.test.ts Refactor LLM route-first provider API (#28523) 2026-05-20 20:15:52 -04:00
bedrock-converse.test.ts refactor(llm): remove the provider-error stream event 2026-07-13 12:22:30 -05:00
cloudflare.test.ts Refactor LLM route-first provider API (#28523) 2026-05-20 20:15:52 -04:00
gemini-cache.recorded.test.ts Refactor LLM route-first provider API (#28523) 2026-05-20 20:15:52 -04:00
gemini.test.ts refactor(llm): replace LLMError reasons with flat tagged union 2026-07-13 12:21:21 -05:00
golden.recorded.test.ts feat(http-recorder): sync recorder v0.3 (#35619) 2026-07-08 11:41:59 -04:00
openai-chat.test.ts refactor(llm): replace LLMError reasons with flat tagged union 2026-07-13 12:21:21 -05:00
openai-compatible-chat.test.ts Refactor LLM route-first provider API (#28523) 2026-05-20 20:15:52 -04:00
openai-responses-cache.recorded.test.ts Refactor LLM route-first provider API (#28523) 2026-05-20 20:15:52 -04:00
openai-responses.test.ts refactor(llm): remove the provider-error stream event 2026-07-13 12:22:30 -05:00
openrouter.test.ts Refactor LLM route-first provider API (#28523) 2026-05-20 20:15:52 -04:00