Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .gemini/styleguide.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@

## Golden Rule: Use the Correct and Current SDK

Always use the **Google GenAI SDK** (`google-genai`), which is the unified

Check failure on line 58 in .gemini/styleguide.md

View workflow job for this annotation

GitHub Actions / Check Spelling

`GenAI` matches a line_forbidden.patterns entry: `\b[gG]enAI\b`. (forbidden-pattern)
standard library for all Gemini API requests (AI Studio/Gemini Developer API
and Vertex AI) as of 2025. Do not use legacy libraries and SDKs.

- **Library Name:** Google GenAI SDK

Check failure on line 62 in .gemini/styleguide.md

View workflow job for this annotation

GitHub Actions / Check Spelling

`GenAI` matches a line_forbidden.patterns entry: `\b[gG]enAI\b`. (forbidden-pattern)
- **Python Package:** `google-genai`
- **Legacy Library**: (`google-generativeai`) is deprecated.

Expand Down Expand Up @@ -110,11 +110,10 @@

- It is also acceptable to use following models if explicitly requested by the
user:
- **Gemini 2.0 Series**: `gemini-2.0-flash`, `gemini-2.0-flash-lite`
- **Gemini 2.5 Series**: `gemini-2.5-flash`, `gemini-2.5-pro`

- Do not use the following deprecated models (or their variants like
`gemini-1.5-flash-latest`):
- **Prohibited:** `gemini-1.5-flash`
- **Prohibited:** `gemini-1.5-pro`
- **Gemini 2.0 Series**: `gemini-2.0-flash`, `gemini-2.0-flash-lite`
- **Gemini 1.5 Series**: `gemini-1.5-flash`, `gemini-1.5-pro`

Check failure on line 118 in .gemini/styleguide.md

View workflow job for this annotation

GitHub Actions / Check Spelling

`gemini-1.5` matches a line_forbidden.patterns entry: `gemini-1\.[05]`. (forbidden-pattern)

Check failure on line 118 in .gemini/styleguide.md

View workflow job for this annotation

GitHub Actions / Check Spelling

`gemini-1.5` matches a line_forbidden.patterns entry: `gemini-1\.[05]`. (forbidden-pattern)
- **Prohibited:** `gemini-pro`
Loading
Loading