fix: revise reasoning_key attribute to OpenRouter (#7821)

This commit is contained in:
Weilong Liao
2026-04-26 22:21:57 +08:00
committed by GitHub
parent 55c1558686
commit d16ed4e552

View File

@@ -20,3 +20,4 @@ class ProviderOpenRouter(ProviderOpenAIOfficial):
self.client._custom_headers["X-OpenRouter-Categories"] = (
"general-chat,personal-agent" # type: ignore
)
self.reasoning_key = "reasoning"