Skip to content

Add documentation for using Gemini 3.1 Pro Preview#428

Open
IshitaSingh07 wants to merge 1 commit intoBeehiveInnovations:mainfrom
IshitaSingh07:patch-1
Open

Add documentation for using Gemini 3.1 Pro Preview#428
IshitaSingh07 wants to merge 1 commit intoBeehiveInnovations:mainfrom
IshitaSingh07:patch-1

Conversation

@IshitaSingh07
Copy link
Copy Markdown

Description

This PR adds documentation explaining how to use Gemini 3.1 Pro Preview with PAL MCP.

Changes

  • Added a new section under Provider Configuration
  • Included step-by-step instructions to:
    • Set up a Gemini API key
    • Configure the model
    • Use Gemini 3.1 Pro Preview in workflows
  • Added fallback guidance if the preview model is not available

Why this change?

The current documentation does not clarify whether newer Gemini models like Gemini 3.1 Pro Preview can be used. This update helps new users understand how to configure and use it properly.

Issue

Closes

Added instructions for using Gemini 3.1 Pro Preview API.
Copy link
Copy Markdown
Contributor

@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 updates the README to include instructions for Gemini 3.1 Pro Preview. Feedback identifies a syntax error in a code block, a version mismatch between the documentation and configuration files, and the accidental removal of important general provider information. Additionally, some content mentioned in the PR description is missing and header levels require correction.

Comment thread README.md
2. **Set your API Key**
Add it to your environment variables or `.env` file:
```bash
GEMINI_API_KEY=your_api_key_here
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

high

The bash code block starting on line 215 is missing its closing triple backticks. This will cause the subsequent sections of the README to be rendered incorrectly as part of the code block.

Comment thread README.md
## Provider Configuration

PAL activates any provider that has credentials in your `.env`. See `.env.example` for deeper customization.
## Using Gemini 3.1 Pro Preview
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

Version mismatch: This section refers to Gemini 3.1, but the configuration file conf/gemini_models.json (line 30) defines the model as Gemini 3.0 (gemini-3-pro-preview). Please ensure the documentation matches the actual model configuration.

Comment thread README.md

PAL MCP supports Gemini models through Google's Generative AI API. You can use newer models such as **Gemini 3.1 Pro Preview** if they are available in your API access.

### Steps to Use Gemini 3.1 Pro Preview
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

The PR description mentions adding 'fallback guidance' and 'Configure the model' instructions, but these are missing from the changes. Additionally, the new section uses a level 2 header (##) instead of level 3 (###), and the general provider activation note was removed and should be restored.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: deaaab47b4

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread README.md
Comment on lines +215 to 217
```bash
GEMINI_API_KEY=your_api_key_here
## Core Tools
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Close fenced code block in Gemini setup docs

The new Gemini setup section opens a fenced block with bash but never closes it, so in Markdown renderers (including GitHub) everything from `## Core Tools` onward is treated as code. This breaks the README structure and makes major sections/anchors unreadable for all users following the docs; add the missing closing after GEMINI_API_KEY=... (and then continue the numbered steps outside the fence).

Useful? React with 👍 / 👎.

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