diff --git a/astrbot/core/provider/sources/openrouter_source.py b/astrbot/core/provider/sources/openrouter_source.py index e49d0c929..a308ad309 100644 --- a/astrbot/core/provider/sources/openrouter_source.py +++ b/astrbot/core/provider/sources/openrouter_source.py @@ -20,3 +20,4 @@ class ProviderOpenRouter(ProviderOpenAIOfficial): self.client._custom_headers["X-OpenRouter-Categories"] = ( "general-chat,personal-agent" # type: ignore ) + self.reasoning_key = "reasoning"