fix(copilot): route GPT-6 through Responses
Signed-off-by: Lanre Shittu <136805224+Shizoqua@users.noreply.github.com> (cherry picked from commit 26dd16c554e8f1c6b92ddc31b712daf2287468c2)
This commit is contained in:
1 parent
6f53f9f6c9
commit
c0772cbd83
2 files changed
+2
-1
No files matched your search
@@ -1137,7 +1137,7 @@ class OpenAICompatProvider(LLMProvider):
|
||||
|
||||
wants_auto_route = capabilities.auto_route and (
|
||||
(reasoning_effort is not None and reasoning_effort.lower() != "none")
|
||||
or any(token in model_name for token in ("gpt-5", "o1", "o3", "o4"))
|
||||
or any(token in model_name for token in ("gpt-5", "gpt-6", "o1", "o3", "o4"))
|
||||
)
|
||||
if not explicitly_supported and not wants_auto_route:
|
||||
return False
|
||||
|
||||
Reference in new issue
Block a user