feat: Add OpenAI API type configuration and update provider settings

This commit is contained in:
outlook84 authored and Xubin Ren committed 2026-05-25 01:23:36 +08:00
1 parent 92915ea424
commit d472595417
12 files changed
+147 -6

No files matched your search

@@ -20,6 +20,7 @@ def _make_copilot_provider() -> OpenAICompatProvider:
p.default_model = "github_copilot/gpt-5.4-mini"
p._spec = find_by_name("github_copilot")
p._effective_base = "https://api.githubcopilot.com"
p._api_type = "auto"
p._responses_failures = {}
p._responses_tripped_at = {}
return p