mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-15 17:30:13 +08:00
fix: revise reasoning_key attribute to OpenRouter (#7821)
This commit is contained in:
@@ -20,3 +20,4 @@ class ProviderOpenRouter(ProviderOpenAIOfficial):
|
||||
self.client._custom_headers["X-OpenRouter-Categories"] = (
|
||||
"general-chat,personal-agent" # type: ignore
|
||||
)
|
||||
self.reasoning_key = "reasoning"
|
||||
|
||||
Reference in New Issue
Block a user