You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(openrouter-adapter): Improve JSON response parsing with robust error handling
- Add more detailed error logging for JSON parsing failures
- Read response text before attempting JSON parsing to prevent body consumption
- Include response length in error log for better diagnostics
- Use `json.loads()` instead of `.json()` method for more explicit parsing
- Enhance error message with additional context about response parsing
0 commit comments