Description
After updating 9router and configuring the thinking intensity option in the dashboard, Kiro models that previously worked correctly start returning HTTP 400 errors.
Affected models include:
kiro/claude-sonnet-4.5-thinking-agentic
kiro/glm-5-thinking-agentic
- ...
Error message:
HTTP 400:
[kiro/claude-sonnet-4.5-thinking-agentic]
[400]: {"message":"Improperly formed request.","reason":"REQUEST_BODY_INVALID"}
Expected behavior
For models that do not support explicit thinking intensity parameters, 9router should either:
- Not send any thinking/reasoning parameter by default, or
- Explicitly disable thinking when no value is configured.
Previously, these models worked normally before the thinking intensity setting was introduced.
Actual behavior
After updating the dashboard and setting thinking intensity support, it seems that all requests are being assigned:
or an equivalent automatic reasoning parameter.
This causes Kiro upstream requests to contain invalid reasoning configuration, resulting in:
Models such as claude-sonnet-4.5-thinking-agentic and glm-5-thinking-agentic can no longer be used.
Steps to reproduce
-
Update 9router to the latest version.
-
Open dashboard settings.
-
Configure thinking intensity.
-
Use Kiro provider models:
kiro/claude-sonnet-4.5-thinking-agentic
kiro/glm-5-thinking-agentic
-
Send a request.
The request fails with HTTP 400.
Possible cause
The new thinking intensity option may be globally injected into all provider requests.
However, different providers/models have different reasoning parameter formats. Kiro's agentic models may not accept:
or similar automatic reasoning values.
Suggested fix
- Default thinking intensity should be empty/disabled instead of
AUTO.
- Only inject reasoning parameters when the selected provider/model explicitly supports them.
- Add provider-specific handling for Kiro reasoning models.
Additional information
I have screenshots comparing behavior before and after enabling/configuring thinking intensity, which show that the failure starts only after this change.
Thanks for maintaining 9router. Hopefully this compatibility issue can be fixed soon.
Description
After updating 9router and configuring the thinking intensity option in the dashboard, Kiro models that previously worked correctly start returning HTTP 400 errors.
Affected models include:
kiro/claude-sonnet-4.5-thinking-agentickiro/glm-5-thinking-agenticError message:
Expected behavior
For models that do not support explicit thinking intensity parameters, 9router should either:
Previously, these models worked normally before the thinking intensity setting was introduced.
Actual behavior
After updating the dashboard and setting thinking intensity support, it seems that all requests are being assigned:
or an equivalent automatic reasoning parameter.
This causes Kiro upstream requests to contain invalid reasoning configuration, resulting in:
Models such as
claude-sonnet-4.5-thinking-agenticandglm-5-thinking-agenticcan no longer be used.Steps to reproduce
Update 9router to the latest version.
Open dashboard settings.
Configure thinking intensity.
Use Kiro provider models:
kiro/claude-sonnet-4.5-thinking-agentickiro/glm-5-thinking-agenticSend a request.
The request fails with HTTP 400.
Possible cause
The new thinking intensity option may be globally injected into all provider requests.
However, different providers/models have different reasoning parameter formats. Kiro's agentic models may not accept:
or similar automatic reasoning values.
Suggested fix
AUTO.Additional information
I have screenshots comparing behavior before and after enabling/configuring thinking intensity, which show that the failure starts only after this change.
Thanks for maintaining 9router. Hopefully this compatibility issue can be fixed soon.