Repository navigation
docs: fix Weather Agent Ollama model name (C3) - #2516
Conversation
…:3b-instruct-fp16) Both weather-agent demo docs told readers the default Ollama model is gpt-oss:latest, but the agent's env file (rossoctl/examples a2a/weather_service/.env.ollama) sets LLM_MODEL=llama3.2:3b-instruct-fp16 — so 'ollama pull gpt-oss:latest' pulls the wrong model for what the demo deploys. Correct the note in both docs/demos/demo-weather-agent.md and docs/demos/cli-demo-weather-agent.md to match the env file. This is correction C3 from the weather-agent demo verification effort; it was intended for #2479 but that PR merged without it. Fixes #2515 Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Mariusz Sabath <[email protected]>
huang195
left a comment
There was a problem hiding this comment.
Correct, minimal, and verified at the source — dobra robota. Two lines, two files, and it retires a genuine footgun: readers were being told to pull a 20B model when the demo deploys a 3B one, which on a laptop is the difference between "demo works" and "why is my fan screaming."
What I verified
- Source of truth confirmed cross-repo:
rossoctl/examples→a2a/weather_service/.env.ollama=LLM_MODEL=llama3.2:3b-instruct-fp16. Your fix matches. - Swept
gpt-ossacross all docs onmain. These two weather docs were the only stale hits. The other two are correct as-is:concepts/skills.md:139isrits/openai/gpt-oss-120b(different provider/model), andllms/local-models.md:202is the Tested Models row for the GitHub Issue and Simple Generalist agents. - The change now agrees with four other places already naming
llama3.2:3b-instruct-fp16:demo-file-organizer-agent.md:52,demo-generic-agent.md:54,demo-image-agent.md:50, andlocal-models.md:199— which reads "Default inollamaenvironment set", corroborating this even more directly than the PR body claims. - Best detail:
overview/5-quickstart.md:78already saysollama pull llama3.2:3b-instruct-fp16— so the old note contradicted the very install page it links to, two lines later. The docs were arguing with themselves and nobody noticed. 🙂 - Issue #2515 exists and is OPEN;
Fixes #2515present.
No blocking issues. One optional nit inline, about the drift class rather than this change — ignore it guilt-free.
Areas reviewed: Docs
Agent/IDE config (.claude/.vscode): none
Commits: 1, signed off (DCO passing); subject 70 chars, conventional prefix, imperative
CI status: passing (22 checks, incl. Link Check and Markdown Lint; Scorecard skipped)
PR format: ## Summary present, Fixes #2515 present, title conventional and 45 chars
Assisted-By: Claude Code
| 4. Click **Build & Deploy Agent** to deploy. | ||
|
|
||
| **Note:** The `.env.ollama` variable set specifies `gpt-oss:latest` as the default model. To download the model, run `ollama pull gpt-oss:latest`, and ensure an Ollama server is running in a separate terminal via `ollama serve`. The `.env.openai` set uses your OpenAI API key from the `openaiApiKey` value you configured in `deployments/envs/.secret_values.yaml` during [installation](../overview/5-quickstart.md); no local model is needed. | ||
| **Note:** The `.env.ollama` variable set specifies `llama3.2:3b-instruct-fp16` as the default model. To download the model, run `ollama pull llama3.2:3b-instruct-fp16`, and ensure an Ollama server is running in a separate terminal via `ollama serve`. The `.env.openai` set uses your OpenAI API key from the `openaiApiKey` value you configured in `deployments/envs/.secret_values.yaml` during [installation](../overview/5-quickstart.md); no local model is needed. |
There was a problem hiding this comment.
nit (optional, genuinely your call): this note is duplicated verbatim across five demo docs, and the real root cause of the drift is that its source of truth lives in a different repo (rossoctl/examples), so nothing in CI can catch it going stale.
A cheap guard would be a CI step that pulls raw .env.ollama and greps that the model string appears in the demo docs. But the tradeoff is real — that couples this repo's CI to another repo's contents and buys you network flake. Perfectly fine to leave it and just land C3 as you have.
There was a problem hiding this comment.
Good eye — 一针见血 (yī zhēn jiàn xuè, "one needle draws blood": straight to the root). Agreed this shouldn't ride on C3, so I've split it out into #2527.
Digging in, the drift is actually deeper than a stale string: of the five demo docs, only the weather service ships an .env.ollama in rossoctl/examples. The other four (image / generic / file-organizer / slack) tell users to import an .env.ollama that isn't in the repo — so your grep-guard only has something to check for weather today. I put the full breakdown on #2527.
So I've opened a weather-only version of your guard (fetch .env.ollama, assert LLM_MODEL appears in the doc; fetch-failure is advisory to avoid the cross-repo network flake you flagged). The other four are blocked on the examples repo publishing those files first. Landing C3 as-is — thanks for catching this. 🙏
Adds a Docs CI job that fetches the source-of-truth .env.ollama from rossoctl/examples and asserts the weather demo doc references the same LLM_MODEL, catching the kind of drift fixed by hand in #2516. Scoped to the weather demo for now: it is the only agent that publishes an .env.ollama in the examples repo. The image/generic/file-organizer/ slack demos reference an .env.ollama that does not yet exist there, so there is nothing to check them against — tracked in #2527. A source-fetch failure is advisory (warns, does not fail) so this repo's CI does not go red on transient raw.githubusercontent.com unavailability; only real drift fails the job. Refs: #2527 Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Mariusz Sabath <[email protected]>
Summary
Both Weather Agent demo docs told readers the default Ollama model is
gpt-oss:latest, but the agent's env file (rossoctl/examples→a2a/weather_service/.env.ollama) sets:So a reader following the note runs
ollama pull gpt-oss:latest— the wrong model for what the demo actually deploys. Corrected the note in both:docs/demos/demo-weather-agent.mddocs/demos/cli-demo-weather-agent.mdVerification
.env.ollama=llama3.2:3b-instruct-fp16.getting-started/install.md,overview/5-quickstart.md,users-guides/troubleshooting.md) all resolve, and no other stale references were found in these files.docs/getting-started/llms/local-models.mdusesqwen2.5:3bas a generic example and listsgpt-oss:latestin a "Tested Models" table for other agents — neither is what the weather demo's env sets, so the demo docs are matched to the env file rather than to that table.This is correction C3 from the weather-agent demo verification effort; it was intended for #2479 but merged without it. Pairs with the merged demo-fix PRs rossoctl/cortex#818 and rossoctl/cortex#819.
Fixes #2515
Assisted-By: Claude (Anthropic AI) [email protected]