Commit graph

3 commits

Author SHA1 Message Date
Dax Raad
5572602ec4 fix 2026-02-11 23:35:35 -05:00
Kyle Mistele
d2beb78457 feat: structured output 2026-01-12 23:54:53 -08:00
Kyle Mistele
4cb9f8ab34 fix: structured output loop exit and add system prompt
- Fix loop exit condition to check processor.message.finish instead of
  result === "stop" (processor.process() returns "continue" on normal exit)
- Add system prompt instruction when json_schema mode is enabled to ensure
  model calls the StructuredOutput tool
- Add integration tests for structured output functionality
- Fix test Session.messages call to use object parameter format
2026-01-12 20:51:17 -08:00