Skip to content

feat: allow choosing gemini model#438

Open
alitonia wants to merge 1 commit intoGreyDGL:mainfrom
alitonia:feature/add-gemini-model
Open

feat: allow choosing gemini model#438
alitonia wants to merge 1 commit intoGreyDGL:mainfrom
alitonia:feature/add-gemini-model

Conversation

@alitonia
Copy link
Copy Markdown

@alitonia alitonia commented Apr 2, 2026

Allow using Gemini models for pentesting

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a Google Gemini backend for PentestGPT, including the GeminiBackend implementation, configuration settings for Gemini API keys and models, and an updated setup script. Feedback focuses on improving the robustness of the implementation by handling session resumption correctly, normalizing model names for cost calculations, making the model temperature configurable, and adding input validation to the configuration script.

Comment thread pentestgpt/core/backend.py
Comment thread pentestgpt/core/backend.py
Comment thread pentestgpt/core/backend.py
Comment thread scripts/config.sh
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.

1 participant