Skip to content

docs(annotate_subtasks): document Gemini Robotics-ER 1.6 support#256

Merged
WilliamYue37 merged 1 commit into
mainfrom
docs/annotate-subtasks-gemini
May 4, 2026
Merged

docs(annotate_subtasks): document Gemini Robotics-ER 1.6 support#256
WilliamYue37 merged 1 commit into
mainfrom
docs/annotate-subtasks-gemini

Conversation

@WilliamYue37
Copy link
Copy Markdown
Member

What this does

Follow-up to #255 — that PR added Google's Gemini family (including Gemini Robotics-ER 1.6) as a --model option for src/opentau/scripts/annotate_subtasks.py but did not update the docs. This PR brings docs/source/tutorials/datasets.rst in sync with the implemented behavior:

  • Top-of-section blurb now mentions that Gemini is supported alongside Claude.
  • "Prerequisites" lists GEMINI_API_KEY / GOOGLE_API_KEY next to ANTHROPIC_API_KEY.
  • "Running the script" gains a Gemini Robotics-ER 1.6 invocation example.
  • The --model row in the flags table explains the Anthropic-vs-Gemini routing rule (IDs starting with gemini or robotics-er are dispatched to google-genai).
  • API cost estimate is annotated as Claude-specific (Gemini pricing differs).

📝 Documentation

How it was tested

  • uv run pre-commit run --files docs/source/tutorials/datasets.rst — passes.
  • Manually re-read the flag descriptions against src/opentau/scripts/annotate_subtasks.py to confirm the routing rule (_is_gemini_model) and env-var fallback (GEMINI_API_KEYGOOGLE_API_KEY) match.

How to checkout & try? (for the reviewer)

```bash
git checkout docs/annotate-subtasks-gemini

Render the docs locally

uv run sphinx-build -b html docs/source docs/_build/html
open docs/_build/html/tutorials/datasets.html
```

Checklist

  • I have added Google-style docstrings to important functions and ensured function parameters are typed.
  • My PR includes policy-related changes.
    • If the above is checked: I have run the GPU pytests (pytest -m "gpu") and regression tests.

🤖 Generated with Claude Code

Follow-up to #255. Updates the dataset tutorial to mention that
annotate_subtasks.py now accepts Gemini model IDs via --model, including
the GEMINI_API_KEY / GOOGLE_API_KEY env vars and a usage example.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@claude
Copy link
Copy Markdown
Contributor

claude Bot commented May 4, 2026

[claude-review] summary for commit 0e61085

No blocking issues found.

@shuheng-liu shuheng-liu self-requested a review May 4, 2026 20:33
@WilliamYue37 WilliamYue37 merged commit 7524f36 into main May 4, 2026
7 checks passed
@WilliamYue37 WilliamYue37 deleted the docs/annotate-subtasks-gemini branch May 4, 2026 20:35
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.

2 participants