diff --git a/ccproxy/plugins/copilot/oauth/provider.py b/ccproxy/plugins/copilot/oauth/provider.py index 0ea92668..4234695f 100644 --- a/ccproxy/plugins/copilot/oauth/provider.py +++ b/ccproxy/plugins/copilot/oauth/provider.py @@ -473,11 +473,18 @@ async def load_credentials(self, custom_path: Any | None = None) -> Any | None: ) return None - async def save_credentials(self, credentials: CopilotCredentials | None) -> bool: + async def save_credentials( + self, + credentials: CopilotCredentials | None, + custom_path: Any | None = None, + ) -> bool: """Save credentials to storage. Args: credentials: Copilot credentials to save (None to clear) + custom_path: Optional custom storage path (accepted for interface + compatibility with other providers but unused — Copilot + credentials are always written to the provider's own storage). Returns: True if save was successful