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
K
Kyle Mistele committed
4cb9f8ab34b0cf1a3a067e776af34edcc684b6da
Parent: d582dc1