Skip to content

Offer a list of models in the agents example configuration - #52

Merged
tomchop merged 1 commit into
mainfrom
feat/agents-model-list-env
Sep 1, 2026
Merged

tomchop merged 1 commit into
mainfrom
feat/agents-model-list-env

Conversation

@tomchop

@tomchop tomchop commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Configuration side of the model picker (yeti-platform/yeti-agents#10, and google/osdfir-infrastructure#281 for Helm). Without a list the chat offers one model and hides its selector, so the feature is unreachable from a Compose deployment.

-# GEMINI_MODEL=gemini-3-flash-preview
+# Models the chat offers, best first. The first is what a conversation uses
+# until one is picked for it, and the selector is hidden when only one is
+# listed. Keep this to what you are willing to spend quota on rather than
+# everything Google publishes; -preview ids are retired on their schedule.
+# GEMINI_MODELS=gemini-3.7-flash,gemini-3.5-flash,gemini-3.5-flash-lite,gemini-3.1-pro-preview

Same for OLLAMA_MODEL → OLLAMA_MODELS.

The id previously suggested, gemini-3-flash-preview, is a preview and was already behind — Google lists it under Preview and recommends a stable id for production. The replacements are stable, apart from gemini-3.1-pro-preview, which is marked as a preview because there is no gemini-3.1-pro: that line only ships a preview.

GEMINI_MODEL still works if a deployment sets it, and wins over the list, so nothing configured that way changes.

docker compose config validates against the updated template.

GEMINI_MODEL named one model. The chat can offer a choice now, so the example
lists them instead, and the first is what a conversation uses until one is
picked for it.

The id it suggested was gemini-3-flash-preview, which is a preview and was
already behind; the list names stable ids, with the one preview marked as such
because those are retired on Google's schedule rather than ours.
@tomchop
tomchop merged commit 20df581 into main Sep 1, 2026
0 of 2 checks passed
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