Skip to content

Use gemini-3-8-flash-boxes in the auto-label docstring examples - #557

Draft
iurisilvio wants to merge 1 commit into
mainfrom
iuri/autolabel-gemini-flash-id
Draft

iurisilvio wants to merge 1 commit into
mainfrom
iuri/autolabel-gemini-flash-id

Conversation

@iurisilvio

@iurisilvio iurisilvio commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Description

Merge together with roboflow/roboflow#17866, after roboflow/roboflow#17823 is deployed.

Roboflow renames the Auto Label catalog id of Gemini Flash from gemini-boxes to gemini-3-8-flash-boxes (display name "Gemini 3.8 Flash (Boxes)"). The rename runs in two steps so no caller breaks:

  • roboflow/roboflow#17823 keeps gemini-boxes as the id and accepts gemini-3-8-flash-boxes as an alias everywhere an id is accepted.
  • roboflow/roboflow#17866 makes gemini-3-8-flash-boxes the id and keeps gemini-boxes as the alias. Workspace.autolabel_models() then returns "id": "gemini-3-8-flash-boxes", "aliases": ["gemini-boxes"].

The SDK and the CLI pass the model id through unchanged, so only the examples change:

  • Project.autolabel_preview and Project.autolabel: the model examples use gemini-3-8-flash-boxes.
  • Workspace.autolabel_models: the id example uses gemini-3-8-flash-boxes.
  • tests/cli/test_autolabel_handler.py: the autolabel models table test uses the new id.

Code that passes model="gemini-boxes" keeps working, because the platform accepts the alias. The past CHANGELOG entry that names gemini-boxes stays as written.

Type of change

  • Documentation update (docstrings only, no behavior change)

How has this change been tested?

  • python -m unittest on Python 3.12: 1233 tests OK (1 skipped).
  • make check_code_quality (ruff format, ruff check, mypy) is clean.

Any specific deployment considerations

None for the SDK: the docstrings reach users with the next release. Merge this with roboflow/roboflow#17866 so the examples match what autolabel_models() returns.

Companion PRs with the same change: roboflow/roboflow-mcp#235 (MCP tool descriptions) and roboflow/docs#385 (Auto Label page).

🤖 Generated with Claude Code

Roboflow's Auto Label catalog lists Gemini Flash as
gemini-3-8-flash-boxes (roboflow/roboflow#17866) and keeps accepting
gemini-boxes as an alias.
The Project.autolabel_preview, Project.autolabel and
Workspace.autolabel_models docstrings name the new id, and the CLI
models-table test uses it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@iurisilvio
iurisilvio force-pushed the iuri/autolabel-gemini-flash-id branch from a2cd8a9 to 1efefbd Compare October 16, 2026 15:00
@iurisilvio iurisilvio changed the title Use gemini-flash-boxes in the auto-label docstring examples Use gemini-3-8-flash-boxes in the auto-label docstring examples Oct 16, 2026
@iurisilvio
iurisilvio requested a review from a team October 16, 2026 20:33
@iurisilvio iurisilvio self-assigned this Oct 16, 2026

This branch has not been deployed

No deployments
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