Skip to content

feat: Default rawResponse to true for agents with outputFormat#1

Merged
TiGz merged 1 commit intomainfrom
claude/restore-raw-response-option-01WYkWLyZyKUnxXTWygiq35A
Dec 13, 2025
Merged

feat: Default rawResponse to true for agents with outputFormat#1
TiGz merged 1 commit intomainfrom
claude/restore-raw-response-option-01WYkWLyZyKUnxXTWygiq35A

Conversation

@TiGz
Copy link
Copy Markdown
Owner

@TiGz TiGz commented Dec 13, 2025

  • Update agent controller to automatically return structured JSON directly
    when an agent has outputFormat defined
  • Users can still override by explicitly setting rawResponse: false
  • Prefer structuredOutput over result when returning raw responses
  • Add comprehensive documentation to README files and CLAUDE.md
  • Document raw response mode behavior and examples

This makes structured output agents more ergonomic by returning the
validated JSON directly without requiring rawResponse: true in each request.

- Update agent controller to automatically return structured JSON directly
  when an agent has outputFormat defined
- Users can still override by explicitly setting rawResponse: false
- Prefer structuredOutput over result when returning raw responses
- Add comprehensive documentation to README files and CLAUDE.md
- Document raw response mode behavior and examples

This makes structured output agents more ergonomic by returning the
validated JSON directly without requiring rawResponse: true in each request.
@TiGz TiGz merged commit a76657e into main Dec 13, 2025
1 check passed
@TiGz TiGz deleted the claude/restore-raw-response-option-01WYkWLyZyKUnxXTWygiq35A branch December 13, 2025 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants