feats: repair the thinking of claude to openrouter convert

This commit is contained in:
Nekohy
2026-03-05 06:12:48 +08:00
parent f53f326931
commit a4629f2630
4 changed files with 37 additions and 7 deletions

View File

@@ -298,6 +298,7 @@ func (a *Adaptor) ConvertOpenAIRequest(c *gin.Context, info *relaycommon.RelayIn
}
reasoning := openrouter.RequestReasoning{
Enabled: true,
MaxTokens: *thinking.BudgetTokens,
}