Skip to content
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

Implement AI Pay as an alternative to providing an API Key #2

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Marchusness
Copy link

@Marchusness Marchusness commented Mar 22, 2024

Transpiled the AI Pay client https://github.com/ai-pay/ai-pay/blob/main/package/src/client/index.ts into fewer lines of Javascript code and added it to the top of the script tag.

If the AI Pay session is active I point the AI API call to the AI Pay OpenAI compatible endpoint.

Added support for adding a path to a particular directory with the Github repo URL to minimize GitHub API calls when used on larger repos.

Added a call GitHub helper function to allow for attaching of the GitHub auth token to allow for more requests during testing

Copy link

vercel bot commented Mar 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
refactor-gpt ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 22, 2024 3:44pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants