[PR #78] Added Google Gemini support #105

Open
opened 2026-03-02 04:06:49 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/FujiwaraChoki/MoneyPrinterV2/pull/78
Author: @pratham-darooka
Created: 4/17/2024
Status: 🔄 Open

Base: mainHead: main


📝 Commits (2)

  • f36c88f Added support for Google Gemini - testing required.
  • b93e6b4 bug fix

📊 Changes

8 files changed (+54 additions, -10 deletions)

View changed files

📝 config.example.json (+1 -0)
📝 docs/AffiliateMarketing.md (+1 -1)
📝 docs/Configuration.md (+2 -0)
📝 requirements.txt (+1 -0)
📝 src/classes/AFM.py (+11 -0)
📝 src/classes/Twitter.py (+18 -9)
📝 src/classes/YouTube.py (+11 -0)
📝 src/config.py (+9 -0)

📄 Description

At the time of creation of this PR, g4f does not support Gemini models.

Thus I made changes to config.py and corresponding uses inside the individual classes to utilize the free Gemini Pro developer API.

Thank you for the lovely project @FujiwaraChoki, could you please help me test this out?


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/FujiwaraChoki/MoneyPrinterV2/pull/78 **Author:** [@pratham-darooka](https://github.com/pratham-darooka) **Created:** 4/17/2024 **Status:** 🔄 Open **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`f36c88f`](https://github.com/FujiwaraChoki/MoneyPrinterV2/commit/f36c88f7dbed10ea80f624da6c9c5488fae87410) Added support for Google Gemini - testing required. - [`b93e6b4`](https://github.com/FujiwaraChoki/MoneyPrinterV2/commit/b93e6b408026778c777f3c1a9f103bc7ff390b82) bug fix ### 📊 Changes **8 files changed** (+54 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `config.example.json` (+1 -0) 📝 `docs/AffiliateMarketing.md` (+1 -1) 📝 `docs/Configuration.md` (+2 -0) 📝 `requirements.txt` (+1 -0) 📝 `src/classes/AFM.py` (+11 -0) 📝 `src/classes/Twitter.py` (+18 -9) 📝 `src/classes/YouTube.py` (+11 -0) 📝 `src/config.py` (+9 -0) </details> ### 📄 Description At the time of creation of this PR, g4f does not support Gemini models. Thus I made changes to `config.py` and corresponding uses inside the individual classes to utilize the free Gemini Pro developer API. Thank you for the lovely project @FujiwaraChoki, could you please help me test this out? --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/MoneyPrinterV2#105
No description provided.