Skip to content
Open
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
47 changes: 47 additions & 0 deletions providers/google-gemini/gemini-robotics-er-2-preview.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
costs:
- cache_creation_input_token_cost_per_hour: 0.000001
cache_read_input_token_cost: 2e-7
input_cost_per_token: 0.000002
input_cost_per_token_batches: 0.000001
output_cost_per_token: 0.00001
output_cost_per_token_batches: 0.000005
region: "*"
features:
- function_calling
- structured_output
- prompt_caching
- code_execution
- system_messages
- tool_choice
- json_output
limits:
context_window: 131072
max_input_tokens: 131072
max_output_tokens: 65536
max_tokens: 65536
modalities:
input:
- text
- image
- video
- audio
output:
- text
mode: chat
model: gemini-robotics-er-2-preview
params:
- defaultValue: 1
key: temperature
maxValue: 2
- defaultValue: 0.95
key: top_p
- defaultValue: 64
key: top_k

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Missing max tokens param override

Medium Severity

params omits a max_tokens override, so the provider default maxValue of 4096 from default.yaml still applies. That conflicts with limits.max_output_tokens / limits.max_tokens of 65536, and with the prior gemini-robotics-er-1.6-preview config that raises max_tokens to 65536. Callers can be capped well below the model’s actual output limit.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 6bc3675. Configure here.

provisioning: serverless
sources:
- https://ai.google.dev/gemini-api/docs/robotics-overview
- https://ai.google.dev/gemini-api/docs/models/gemini-robotics-er-2-preview
status: preview
supportedModes:
- chat
thinking: true
Loading