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

Add gemini support through requests #56

Merged
merged 5 commits into from
May 3, 2024
Merged

Add gemini support through requests #56

merged 5 commits into from
May 3, 2024

Conversation

CTY-git
Copy link
Contributor

@CTY-git CTY-git commented May 2, 2024

No description provided.

@CTY-git CTY-git requested a review from codelion May 2, 2024 13:41
@patched-admin
Copy link
Contributor

Various code changes have been made across different files within the AutoFix module and other directories. References to CallOpenAI have been replaced with CallLLM in multiple sections of files such as defaults.yml, DependencyUpgrade.py, GenerateREADME.py, PRReview.py, and more. The updates involve switching API keys for ChatGPT and Gemini, modifying the model and base URL for OpenAI, and introducing new keys like google_api_key. Additionally, classes like CallGemini and CallOpenAI implementing the LLMModel protocol have been added to handle interactions with different AI models, while the CallOpenAI.py file has been entirely removed. The README generator file has also been updated to accommodate these changes.


@CTY-git CTY-git merged commit eee64d3 into main May 3, 2024
1 check passed
@CTY-git CTY-git deleted the gemini-support branch May 3, 2024 10:04
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.

3 participants