-
Notifications
You must be signed in to change notification settings - Fork 0
GLW-1: Add OpenAI provider integration #7
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
base: main
Are you sure you want to change the base?
Conversation
Introduced a new OpenAI provider module to handle AI-driven operations such as generating commit messages and explaining code changes. This integration leverages configurable models and handles API key management, request retries, and rate limit handling. The implementation supports handling large diffs by adjusting request size based on model constraints and providing user feedback if truncation occurs.
Hey @cmgriffing-at-gitkraken, while reviewing your PR, I'd suggest the following code changes: 👉 Fixes type errors for otherai models
You can also review and apply these suggestions locally on your machine. Learn more about GitKraken Code Suggest
Join your team on GitKraken to speed up PR review. |
Hey @cmgriffing-at-gitkraken, while reviewing your PR, I'd suggest the following code changes: 👉 Fixes type errors for otherai models
You can also review and apply these suggestions locally on your machine. Learn more about GitKraken Code Suggest
Join your team on GitKraken to speed up PR review. |
Hey @cmgriffing-at-gitkraken, while reviewing your PR, I'd suggest the following code changes: You can also review and apply these suggestions locally on your machine. Learn more about GitKraken Code Suggest
Join your team on GitKraken to speed up PR review. |
Hey @cmgriffing-at-gitkraken, while reviewing your PR, I'd suggest the following code changes: You can also review and apply these suggestions locally on your machine. Learn more about GitKraken Code Suggest
Join your team on GitKraken to speed up PR review. |
Hey @cmgriffing-at-gitkraken, while reviewing your PR, I'd suggest the following code changes: 👉 TESTING You can also review and apply these suggestions locally on your machine. Learn more about GitKraken Code Suggest
Join your team on GitKraken to speed up PR review. |
Hey @cmgriffing-at-gitkraken, while reviewing your PR, I'd suggest the following code changes: You can also review and apply these suggestions locally on your machine. Learn more about GitKraken Code Suggest
Join your team on GitKraken to speed up PR review. |
Hey @cmgriffing-at-gitkraken, while reviewing your PR, I'd suggest the following code changes:
You can also review and apply these suggestions locally on your machine. Learn more about GitKraken Code Suggest
Join your team on GitKraken to speed up PR review. |
Hey @cmgriffing-at-gitkraken, while reviewing your PR, I'd suggest the following code changes:
You can also review and apply these suggestions locally on your machine. Learn more about GitKraken Code Suggest
Join your team on GitKraken to speed up PR review. |
|
||
dispose() {} | ||
|
||
private get model(): OtherAIModels | null { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this really be null?
Introduced a new OpenAI provider module to handle AI-driven operations such as generating commit messages and explaining code changes. This integration leverages configurable models and handles API key management, request retries, and rate limit handling. The implementation supports handling large diffs by adjusting request size based on model constraints and providing user feedback if truncation occurs.
❤ Thank you for contributing to GitLens! ❤
🚨 IMPORTANT 🚨
↑👆 DELETE above before submitting 👆↑
Description
Checklist
Fixes $XXX -
orCloses #XXX -
prefix to auto-close the issue that your PR addresses