parseArgsToMap
- Introduced `tolerantParseJSONMap` to handle bareword values in streamed tool calls. - Added robust handling for JSON strings, objects, arrays, and numerical values. - Improved fallback mechanisms to ensure reliable parsing.
Simplifies parsing and error handling for function arguments across OpenAI response processing methods. Replaces repeated logic with a reusable utility function.