⏺ Release Notes - Agentic v0.1.4
🔧 Enhanced Error Handling & Debugging
This release significantly improves reliability and troubleshooting capabilities for both local and cloud
model interactions.
🚀 New Features
Robust JSON Parsing with Multiple Fallback Strategies
- Added 4-tier fallback system for parsing local model responses
- Enhanced cloud synthesis parsing with multiple extraction methods
- Automatic recovery from malformed JSON responses
- Text pattern matching as final fallback for proposal extraction
Comprehensive Debug Logging
- 10+ new debug files written to /tmp/ for detailed troubleshooting
- Local model debugging: debug_prompt.txt, debug_response.txt, debug_error.txt
- Cloud synthesis debugging: debug_synthesis_prompt.txt, debug_cloud_response.txt, debug_synthesis_json.txt
- Parse error diagnostics: debug_parse_error.txt, debug_parse_failure.txt
Enhanced Endpoint Validation
- Settings validation now tests actual generation capabilities (not just model listing)
- Validates both /api/generate (Ollama) and /v1/chat/completions (LM Studio/OpenAI) endpoints
- Prevents configuration issues where models are visible but generation fails
Provider Detection Caching
- Global caching system ensures consistent provider detection throughout session
- Eliminates potential validation/generation mismatches
- Reduces redundant API calls for better performance
🐛 Bug Fixes
Fixed LM Studio → Cloud Synthesis Issues
- Resolved parsing errors when switching from Ollama to LM Studio
- Enhanced cloud model response handling with better error context
- Improved JSON extraction from various response formats
Improved Error Messages
- More descriptive error messages with endpoint and model context
- Better user guidance for troubleshooting connection issues
- Enhanced coaching tips with specific next steps
🏗️ Technical Improvements
Code Quality
- All code formatted with rustfmt
- Zero clippy warnings
- Enhanced error propagation following Rust best practices
- Proper separation of concerns following RuixenOS workspace architecture
Following Constitutional Patterns
- No .unwrap() or .expect() in application logic
- Graceful error handling with comprehensive fallbacks
- Non-blocking operations maintained
- Consistent with established architectural principles
📋 What's Changed
- Enhanced local model error handling and debugging
- Added generation endpoint validation to settings
- Implemented JSON parsing with 4-tier fallback strategies
- Added consistent provider detection caching
- Updated all version references from 0.1.3 to 0.1.4