Skip to content

fix(content): drop -preview suffix from gemini image model slugs#76

Merged
gupsammy merged 1 commit into
mainfrom
fix/gemini-image-slugs-drop-preview
Jun 1, 2026
Merged

fix(content): drop -preview suffix from gemini image model slugs#76
gupsammy merged 1 commit into
mainfrom
fix/gemini-image-slugs-drop-preview

Conversation

@gupsammy
Copy link
Copy Markdown
Owner

@gupsammy gupsammy commented Jun 1, 2026

Summary

  • fix(content): drop -preview suffix from gemini image model slugs

Changes

  • .claude-plugin/marketplace.json
  • README.md
  • plugins/claude-content/.claude-plugin/plugin.json
  • plugins/claude-content/README.md
  • plugins/claude-content/skills/generate-image/scripts/generate.py

Commits

  • 3a06a86 fix(content): drop -preview suffix from gemini image model slugs

Diff Stat

.claude-plugin/marketplace.json                                  | 2 +-
 README.md                                                        | 2 +-
 plugins/claude-content/.claude-plugin/plugin.json                | 2 +-
 plugins/claude-content/README.md                                 | 2 +-
 plugins/claude-content/skills/generate-image/scripts/generate.py | 4 ++--
 5 files changed, 6 insertions(+), 6 deletions(-)

Update MODELS registry to GA slugs gemini-3.1-flash-image and
gemini-3-pro-image. CLI aliases (nano-banana, pro) unchanged.
@claude
Copy link
Copy Markdown
Contributor

claude Bot commented Jun 1, 2026

Claude finished @gupsammy's task in 52s —— View job


PR Review: fix(content): drop -preview suffix from gemini image model slugs

Tasks

  • Fetch diff and read changed files
  • Understand the request
  • Review all changed files
  • Post review

What looks good

Focused, minimal change. The PR does exactly one thing — remove -preview from two Gemini model ID strings — and nothing more.

Version sync is correct. All four locations are bumped in lockstep to 0.4.16:

  • plugins/claude-content/.claude-plugin/plugin.json
  • .claude-plugin/marketplace.json
  • plugins/claude-content/README.md
  • root README.md

Python conventions respected. generate.py retains from __future__ import annotations at line 62. The script uses uv inline metadata for its third-party deps (google-genai, pillow) — correct for a non-hook script.

No stray -preview references. The one hit in SKILL.md (0.5K for quick previews) is unrelated to model slugs.


Must fix before merge

None — the change is mechanically correct and complete.


Optional / worth confirming

Model IDs should be verified against the Gemini API. The new strings (gemini-3.1-flash-image, gemini-3-pro-image) look plausible, but I can't verify them from inside the repo. If you haven't already, run a quick smoke test or link to the Gemini release notes / changelog confirming these are the GA (non-preview) model IDs. A broken model string will silently return an API error at runtime rather than at install time. If the models have been tested and confirmed working, this is ready to merge.


Verdict: LGTM with the above caveat. Once the model IDs are confirmed valid, this is a clean fix.

@gupsammy gupsammy merged commit dd0afe5 into main Jun 1, 2026
1 check passed
@gupsammy gupsammy deleted the fix/gemini-image-slugs-drop-preview branch June 1, 2026 06:30
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