Files
anomalyco_opencode/packages/opencode
Kyle Mistele b1da5714d7 test: add retry behavior tests for structured output
Add 5 new unit tests that verify the retry mechanism for structured
output validation:
- Multiple validation failures trigger multiple onError calls
- Success after failures correctly calls onSuccess
- Error messages guide model to fix issues and retry
- Simulates retry state tracking matching prompt.ts logic
- Simulates successful retry after initial failures

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 11:28:29 -08:00
..
2025-11-13 12:22:07 -06:00
2025-07-03 21:36:09 -04:00
2026-01-03 20:56:47 -06:00
2025-12-29 21:43:50 -06:00
2026-01-12 21:03:52 +00:00
2025-12-02 18:36:15 -05:00
2025-10-14 18:30:32 -04:00

js

To install dependencies:

bun install

To run:

bun run index.ts

This project was created using bun init in bun v1.2.12. Bun is a fast all-in-one JavaScript runtime.