mirror of
https://github.com/gadievron/raptor.git
synced 2026-04-25 05:56:00 +03:00
[PR #20] [MERGED] Fix: Ollama format parameter - eliminates HTTP 500 errors #30
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/raptor#30
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/gadievron/raptor/pull/20
Author: @gadievron
Created: 12/5/2025
Status: ✅ Merged
Merged: 12/6/2025
Merged by: @danielcuthbert
Base:
main← Head:fix/ollama-format-parameter📝 Commits (10+)
be75a55Add radare2 integration for enhanced binary analysis8c427beFix command injection vulnerability in radare2 address handlingc1823a1Fix two radare2 wrapper bugs with comprehensive test coverage8c98d27Improve user messaging for radare2 availability and fallbacka3367ceAdd automatic radare2 installation with platform-aware detection18546ebFix automatic radare2 installation critical issues and add comprehensive tests0e55c2aAdd installation status and cancellation APIs to CrashAnalyserf4b89dcFix installation status/cancellation issues identified in persona review91240d0fix: Scanner returns zero findings when scanning subdirectoriescf942bbFix: Ollama format parameter - HTTP 500 errors📊 Changes
53 files changed (+21160 additions, -39 deletions)
View changed files
➕
ARCHITECTURE_ALIGNMENT_ANALYSIS.md(+649 -0)➕
ARCHITECTURE_CONTROL_FLOW.md(+550 -0)➕
AUTO_INSTALL.md(+266 -0)➕
AUTO_INSTALL_REVIEW.md(+1490 -0)➕
DOCUMENTATION_INDEX.md(+372 -0)➕
FINAL_STATUS.md(+373 -0)➕
FIXES_REVIEW.md(+1579 -0)➕
GREP_AUDIT_RESULTS.md(+117 -0)➕
IMPLEMENTATION_REVIEW.md(+438 -0)➕
IMPLEMENTATION_SUMMARY.md(+389 -0)➕
IMPROVEMENT_PLAN.md(+503 -0)➕
INSTALLATION_STATUS_CANCELLATION_REVIEW.md(+1966 -0)➕
INTEGRATION_IMPACT_ANALYSIS.md(+305 -0)➕
INVESTIGATION_SUMMARY.md(+310 -0)➕
ISSUE_VERIFICATION.md(+172 -0)➕
MULTI_PERSONA_REVIEW.md(+1054 -0)➕
PHASE_1_2_VALIDATION_REPORT.md(+337 -0)➕
PRE_IMPLEMENTATION_SAFETY_ANALYSIS.md(+581 -0)➕
RADARE2_INTEGRATION.md(+645 -0)➕
RADARE2_RENAMING_PLAN.md(+312 -0)...and 33 more files
📄 Description
Problem
Ollama structured JSON generation fails with HTTP 500 errors:
Impact: 500 errors prevent JSON generation, high retry rate
Root Cause
Passing schema dict to
formatparameter (Ollama expects"json"string)Solution
Add format parameter support and use
format="json":How it works: Ollama enforces valid JSON at token level via GBNF grammar
Impact
Testing
Files Changed
Risk: LOW (surgical changes, zero deletions)
Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.