Skip to content

feat: port maybeRedeemCredits() from get-api-key.tsx to login_with_chatgpt.py #1221

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 6, 2025

Conversation

bolinfest
Copy link
Collaborator

@bolinfest bolinfest commented Jun 5, 2025

This builds on #1212 and ports the maybeRedeemCredits() function from get-api-key.ts to login_with_chatgpt.py:

async function maybeRedeemCredits(
issuer: string,
clientId: string,
refreshToken: string,
idToken?: string,
): Promise<void> {

@bolinfest bolinfest force-pushed the pr1221 branch 2 times, most recently from c87b519 to 5c11e74 Compare June 6, 2025 06:28
@bolinfest bolinfest marked this pull request as ready for review June 6, 2025 06:31
@bolinfest bolinfest merged commit 029f39b into main Jun 6, 2025
11 checks passed
@bolinfest bolinfest deleted the pr1221 branch June 6, 2025 06:34
@github-actions github-actions bot locked and limited conversation to collaborators Jun 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant