Skip to content

docs: fix Weather Agent Ollama model name (C3) - #2516

Merged
mrsabath merged 2 commits into
mainfrom
docs/fix-weather-ollama-model
Sep 8, 2026
Merged

mrsabath merged 2 commits into
mainfrom
docs/fix-weather-ollama-model

Conversation

@mrsabath

@mrsabath mrsabath commented Sep 4, 2026

Copy link
Copy Markdown
Member

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:

LLM_MODEL=llama3.2:3b-instruct-fp16

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.md
  • docs/demos/cli-demo-weather-agent.md

Verification

  • Source of truth confirmed: .env.ollama = llama3.2:3b-instruct-fp16.
  • Checked the rest of both docs while here — the linked targets (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.md uses qwen2.5:3b as a generic example and lists gpt-oss:latest in 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]

…: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 huang195 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

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-oss across all docs on main. These two weather docs were the only stale hits. The other two are correct as-is: concepts/skills.md:139 is rits/openai/gpt-oss-120b (different provider/model), and llms/local-models.md:202 is 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, and local-models.md:199 — which reads "Default in ollama environment set", corroborating this even more directly than the PR body claims.
  • Best detail: overview/5-quickstart.md:78 already says ollama 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 #2515 present.

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.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

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.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

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. 🙏

@mrsabath
mrsabath merged commit 18c9005 into main Sep 8, 2026
23 checks passed
@github-project-automation github-project-automation Bot moved this from New/ToDo to Done in Rossoctl Issue Prioritization Sep 8, 2026
mrsabath added a commit that referenced this pull request Sep 8, 2026
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

docs: weather-agent demos name wrong Ollama model (gpt-oss:latest vs llama3.2:3b-instruct-fp16)

2 participants