Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion ccproxy/plugins/copilot/oauth/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down