We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dec607f commit 7060a2cCopy full SHA for 7060a2c
agentle/generations/providers/openrouter/openrouter_generation_provider.py
@@ -1519,7 +1519,7 @@ async def generate_async[T = WithoutStructuredOutput](
1519
except Exception as json_error:
1520
response_text = response.text
1521
logger.error(
1522
- f"Failed to parse OpenRouter response as JSON. "
+ "Failed to parse OpenRouter response as JSON. "
1523
+ f"Status: {response.status_code}, "
1524
+ f"Content-Type: {response.headers.get('content-type')}, "
1525
+ f"Response preview: {response_text[:500]}"
0 commit comments