refactor: preserve cold-start lazy boundaries
This commit is contained in:
@@ -207,8 +207,9 @@ class GitHubCopilotProvider(OpenAICompatProvider):
|
||||
|
||||
async def _refresh_client_api_key(self) -> str:
|
||||
token = await self._get_copilot_access_token()
|
||||
client = await self._ensure_client()
|
||||
self.api_key = token
|
||||
self._client.api_key = token
|
||||
client.api_key = token
|
||||
return token
|
||||
|
||||
async def chat(
|
||||
|
||||
Reference in New Issue
Block a user