[github] Add Github Copilot

This commit is contained in:
Jeroen Evens
2026-02-06 18:38:18 +01:00
parent 831eb07945
commit b161fa4f9a
3 changed files with 13 additions and 2 deletions

View File

@@ -298,7 +298,9 @@ class Config(BaseSettings):
if spec.is_oauth:
continue
p = getattr(self.providers, spec.name, None)
if p and p.api_key:
if p is None:
continue
if p.api_key:
return p, spec.name
return None, None