v0.3.6: Infinite Retry Logic
What's Changed
Added
- Infinite Retry Logic: Enhanced argument fixer with "never give up" mode
- Added
maxRetriesparameter tofixMalformedArguments()function - Support for
-1as sentinel value for infinite retries - Automatic rotation through different format preferences (JSON → YAML → XML)
- Agent now uses infinite retries by default for maximum resilience
- Added
Fixed
- Argument Fixing: Improved handling of malformed tool arguments
- Better recovery from concatenated JSON objects
- Enhanced format detection and conversion
- More robust error messages with helpful context
Developer Notes
- The argument fixer now supports infinite retries to handle persistent AI formatting issues
- Note: Some errors occur at the API level before reaching our code (e.g., Grok API server-side validation)
Full Changelog: v0.3.5...v0.3.6