fix: Use ast.literal_eval for Python-style single quotes in tool calls
- Models may return single quotes instead of double quotes - Fall back to ast.literal_eval when JSON parsing fails - Handle both JSON and Python-style literals in streaming responses
Showing
Please
register
or
sign in
to comment