feat(lmstudio): Add Harmony format parser for GPT-OSS models#6
Conversation
- Implement Harmony channel parser to extract analysis, final, and commentary - Parse tool calls from commentary channel to standard JSON format - Handle multiline markdown content in final channel responses - Remove GPT-OSS tool restrictions as Harmony parser enables full support - Add comprehensive tests for Harmony format parsing - Document the issue and solution in GPT-OSS-HARMONY-ISSUE.md This allows GPT-OSS models to work properly with tool calling through LM Studio by parsing their native Harmony output format. 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
|
Claude finished @nachoal's task —— View job PR Review: Harmony Format Parser for GPT-OSS ModelsReview Tasks:
Overall Assessment: Excellent Implementation ✅This PR successfully addresses a specific and complex problem with GPT-OSS models outputting Harmony format that breaks standard parsers. The implementation is well-architected, thoroughly tested, and follows Go best practices. Code Quality & Best PracticesStrengths:
Minor Improvements:
Security ConsiderationsWell Handled:
No Security Issues Found ✅Performance ConsiderationsGood Practices:
Potential Optimizations:
Test Coverage AnalysisExcellent Coverage (95%+ estimated):
Test Quality Highlights:
Technical Implementation ReviewHarmony Parser (
|
This allows GPT-OSS models to work properly with tool calling through LM Studio by parsing their native Harmony output format.
🤖 Generated with Claude Code