Skip to content

fix(setup): plan no local chat download while chat runs on a cloud model - #8086

Merged
kovtcharov-amd merged 4 commits into
mainfrom
autofix/issue-8000
Nov 17, 2026
Merged

kovtcharov-amd merged 4 commits into
mainfrom
autofix/issue-8000

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

On a PC where the user picked a cloud model for chat, Settings › Model › Manage downloads opened with Qwen3.6 35B ticked and Apply: download 23.3 GB armed, so one click started a download the user never chose. Now the plan behind that list leaves the local chat model unticked while chat runs on a cloud model. Only the embedder stays planned, so Apply has nothing new to download. First-run setup and gaia init still pass their own choice and work as before.

Closes #8000

Test plan

  • python -m pytest tests/unit/chat/ui/test_setup_plan.py passes, including two new tests that fail without the fix
  • python -m pytest tests/unit/ passes (41,268 passed). The 6 failures here come from the sandbox (missing python-pptx/pypdfium2, read-only site-packages, a permission denial) and none touch setup.
  • python util/lint.py --all passes
  • Packaged app, clean profile: in first-run setup choose Use a cloud model, then open Settings › Model › Local › Manage downloads and disk space. Nothing new is ticked, and Apply is disabled.
  • Same profile: tick a local chat model by hand and Apply. It downloads.
  • Switch chat back to a local model and reopen Manage downloads. The planned local chat model is ticked again.

⚠️ Needs manual validation — the unit tests cover the plan, but not the Settings screen in the packaged app. A maintainer should run the last three steps on Windows with a cloud provider connected before merging.

🔍 Technical details
  • Root cause: GET /api/setup/plan calls build_plan() with skip_chat_model=False. That puts the hardware's local chat pick in planned/selected, and the webui's initialSelection ticks every selected entry.
  • build_plan(skip_chat_model=None) is the new default. None means "decide from where chat runs": it skips when resolve_chat_model() is a cloud model, using the same check _job_model already used, now shared as _chat_on_cloud. Explicit True/False from run_disk_warning, /api/setup/run and gaia init --plan is unchanged.
  • No check runs when Lemonade is unreachable (client is None). An ambiguous model id would otherwise need a catalog read from a server that isn't there, and Settings hides the checklist in that state anyway.
  • Not changed: chat_model.id still reports setup's local pick, because SetupSettings, SetupScreen and skipChanges all treat it that way. In Settings the "Default chat model" select now shows a downloaded local model, or "no chat model", instead of the undownloaded Qwen. Making it name the cloud model would mean changing the frontend.

Settings > Model > Manage downloads opened with the hardware's local chat
model (Qwen3.6 35B, 23.3 GB) ticked and Apply armed for a user whose chat
runs on Fireworks. The setup plan only skipped the chat download when first-run
setup asked it to; Settings asks for the plan with no say, so it planned one.

build_plan now works that out itself when the caller doesn't say: a cloud chat
model plans only the embedder. Setup runs and `gaia init` still pass their
explicit choice.

Closes #8000
@github-actions

Copy link
Copy Markdown
Contributor Author

Verdict: Request changes

This PR fixes the Settings download list for people who chat on a cloud model, and the evidence shows that fix works. It breaks the plan in one other place, though: the setup screen reads the same plan. Someone on a cloud model who reruns setup and picks "This PC" now sees about 0.3 GB to download and the chat model unticked. Setup then downloads the full local chat and vision models anyway, about 29 GB on the test machine.

  • What to fix: let setup ask for its own plan, so it always includes the local chat model. Keep the new "decide from where chat runs" default for the Settings list only. Add a test for the rerun case.

Real-world evidence

The evidence stage ran the real backend against a stand-in Lemonade server. It confirms the Settings fix but not the setup-rerun path described above.

# Cloud last model (fireworks.deepseek-v3p2)
$ curl -H 'X-Gaia-UI: 1' http://127.0.0.1:4299/api/setup/plan
HTTP 200
models (planned): ['user.embeddinggemma-300m-GGUF']
download_gb: 0.3

# Local last model (Gemma-4-E4B-it-GGUF), same server
models (planned): ['Gemma-4-E4B-it-GGUF', 'user.embeddinggemma-300m-GGUF', 'Qwen3.6-35B-A3B-GGUF']
download_gb: 29.2
  • gaia init --plan with a cloud last model still plans Qwen (23.3 GB) and Gemma. The CLI keeps its explicit choice.
  • Spot checks passed: /api/setup/needs/{chat,vision,embedding}, POST /api/setup/npu/recheck, and the X-Gaia-UI guard (403).
  • The rendered screen in Settings and in the packaged app is pending the strix-halo lane. The PR's three manual steps are still unchecked.
🔍 Technical details

🟡 The setup screen's plan now contradicts what setup downloads (src/gaia/ui/setup_plan.py:534)

SetupScreen.tsx:471 and LocalModelsSections.tsx:69 both call GET /api/setup/plan, and routers/setup.py:112 calls build_plan() with no arguments. With the new None default, a user whose last_model is a cloud model gets a plan with only the embedder planned/selected. How to reach it: Settings › Run setup again, where continueFromChecks routes to the cloud key step, then Back and choose "This PC". On that path:

  • the plan screen shows download_gb 0.3, and initialSelection leaves the chat model unticked while defaultChat still names it;
  • download() then calls api.startSetup(false, …), so /api/setup/run uses skip_chat_model=False and pulls Qwen and Gemma.

This is the "dishonest status" class: the screen says one thing and the run does another. The PR body says "First-run setup … still pass[es] its own choice", but the setup screen's plan read doesn't pass a choice.

One fix: give the route an optional query parameter and have the setup screen send skip_chat_model=false when where === 'local'. Settings leaves it unset.

def setup_plan(skip_chat_model: Optional[bool] = None) -> Dict[str, Any]:

(and return build_plan(skip_chat_model=skip_chat_model), plus getSetupPlan(skipChatModel?) in setupApi.ts.)

🟡 Other build_plan() callers also changed behaviour. set_model_skipped (:913) reads e["planned"]. While chat is on the cloud, skipping Gemma or Qwen now raises UnknownModel ("not one of the models setup downloads"). The Settings UI only sends skip for planned entries, so it can't reach this today. An API or MCP caller can. A one-line test pinning the intended result would help. check_extra_models, choose_chat_model, choose_vision_model and _download_entry read only catalog membership, which doesn't change.

🟢 Vision model leaves the plan too. In cloud mode, skip_chat_model also drops Gemma, so image reading on a cloud model that has no vision isn't offered here. The test asserts this, so it looks intended. Worth one line in the PR body so the reviewer knows it's deliberate.

Strengths

  • _chat_on_cloud replaces a check that was copied in two places. The client is not None guard means an unreachable Lemonade never triggers the catalog lookup.
  • Both new tests fail without the fix and cover the route as well as the function.
  • Every explicit caller (run_disk_warning, /api/setup/run, gaia init --plan) keeps its old meaning.

@kovtcharov-amd
kovtcharov-amd marked this pull request as draft November 13, 2026 14:28
@kovtcharov-amd kovtcharov-amd added the bug Something isn't working label Nov 13, 2026
@kovtcharov-amd kovtcharov-amd added the onboarding First-run experience, setup wizard, and user onboarding label Nov 15, 2026
@kovtcharov-amd kovtcharov-amd self-assigned this Nov 15, 2026
The Settings fix made every plan read follow where chat runs, so running setup
again from a cloud model and choosing this PC showed a 0.3 GB plan while the
run still pulled the chat and image models. The setup screen and the TUI now
ask for the local plan explicitly (skip_chat_model=false), and the plan routes
that return a plan take the same query. `gaia init --skip-model` checks
against what init downloads again, instead of refusing the chat model while
chat is on a cloud model.
@github-actions github-actions Bot added documentation Documentation changes cli CLI changes tests Test changes tui Go terminal UI (gaia-tui) labels Nov 16, 2026
@kovtcharov-amd

Copy link
Copy Markdown
Collaborator

Fixed the review's main finding: running setup again from a cloud model and choosing this PC now shows the chat model the run will download, instead of a 0.3 GB plan that then pulled about 29 GB. The Settings fix is unchanged.

The red "Unit Tests Result" was not a failing test. All four unit-test jobs were cancelled partway through the run, and the gate reported the cancellation as a failure.

🔍 Technical details
  • The plan routes take an optional skip_chat_model query (/plan, /chat-model, /vision-model, /models/skip, /models/remove). Leaving it unset keeps this PR's behaviour, which follows where chat runs. SetupScreen sends false on every plan it reads.
  • The TUI reads the same routes through the daemon and handles cloud chat itself (Options.Cloud). It had the same mismatch, so setupapi now sends false too. Both front-ends then behave exactly as they do on main.
  • set_model_skipped takes the same flag. On this PR's head, gaia init --skip-model <chat model> failed with UnknownModel while chat ran on a cloud model. It now passes args.skip_chat_model.
  • I added tests that try to break the fix. The setup-screen plan with a cloud model matches what /api/setup/run downloads. Switching from cloud back to local plans the model again. A local model's plan is identical with and without the flag. claude-* is treated as cloud. With no server, no catalog is read. The setup screen can still skip a model the cloud-mode plan leaves out. The query rejects anything that isn't a boolean. Covered from each side: the CLI skip, the daemon passing the flag through, the TUI client sending false on all five routes, and the web UI.
  • Related suites: Python 773 passed (main 763, same files plus the new tests), web UI 609 passed, tsc clean, Go setupapi/modelsetup/chat passing. Lint is clean apart from Windows-only pylint lines that main also shows. The docs (agent-ui.mdx, cli.mdx) describe the query.

@kovtcharov-amd
kovtcharov-amd marked this pull request as ready for review November 16, 2026 23:19
@github-actions

Copy link
Copy Markdown
Contributor Author

Verdict: Approve with suggestions

This fixes the bug where Settings › Manage downloads came up with a 23 GB local chat model already ticked for someone who chats on a cloud model. The plan now leaves that download out while chat runs in the cloud. First-run setup, the TUI and gaia init ask for setup's own local plan explicitly, so they behave as before. I found no blocking issues: every caller of the plan routes either passes a value or deliberately relies on the new cloud-aware default, and the tests pin both cases.

  • Still needs a person to look at it: the Settings screen fix has no screenshot yet. The PR's last three manual steps (packaged app, a cloud provider connected, Apply disabled) are the proof that matters here, so run them before merging.

Real-world evidence

The evidence stage ran the CLI and HTTP surfaces on a runner with no Lemonade server. It did not exercise the cloud-detection branch or the Settings screen, so those parts of the verdict rest on static review and unit tests.

$ gaia init --plan --json --skip-model user.embeddinggemma-300m-GGUF
exit=0  {'download_gb': 6.0, 'skipped_models': ['user.embeddinggemma-300m-GGUF']}  models= ['Gemma-4-E4B-it-GGUF']

$ gaia init --plan --json --skip-chat-model --skip-model Gemma-4-E4B-it-GGUF
exit=2
Error: Gemma-4-E4B-it-GGUF is not one of the models setup downloads (user.embeddinggemma-300m-GGUF), so there is nothing to skip.

$ gaia init --plan --json --skip-model Gemma-4-E4B-it-GGUF
exit=0  {'download_gb': 0.3, 'skipped_models': ['Gemma-4-E4B-it-GGUF']}  models= ['user.embeddinggemma-300m-GGUF']
GET /api/setup/plan                         (no X-Gaia-UI)  → 403 {"detail":"missing X-Gaia-UI header"}
GET /api/setup/plan                                         → 200 download_gb 6.3, models [Gemma-4-E4B-it-GGUF, user.embeddinggemma-300m-GGUF]
GET /api/setup/plan?skip_chat_model=false                   → 200 download_gb 6.3, models [Gemma-4-E4B-it-GGUF, user.embeddinggemma-300m-GGUF]
GET /api/setup/plan?skip_chat_model=true                    → 200 download_gb 0.3, models [user.embeddinggemma-300m-GGUF]
GET /api/setup/plan?skip_chat_model=bogus                   → 422 {"detail":[{"type":"bool_parsing",...}]}
POST /api/setup/models/skip?skip_chat_model=true   {"model_id":"Gemma-4-E4B-it-GGUF","skipped":true}
  → 422 {"detail":"Gemma-4-E4B-it-GGUF isn't one of the models setup downloads, so there is nothing to skip."}

Spot regression: GET /api/setup/status → 200 idle; GET /api/setup/check?skip_chat_model=true → 200; gaia init --plan text output unchanged (6.3 GB, exit 0). chat-model and models/remove returned their existing 503 (no server). The rendered Settings screenshot is still pending (strix-halo lane, or the manual steps in the PR).

🔍 Technical details

Issues

🟡 Settings screen has no screenshot yet. The change is UI-backed (LocalModelsSections reads the unset-default plan), and the PR marks the screen check as manual. Route evidence covers merge-time CI, but a before/after screenshot of Manage downloads with a cloud chat model should land on the PR.

🟢 Internal build_plan() callers now follow the cloud default. choose_chat_model, choose_vision_model, check_extra_models, model_need, _download_entry (setup_plan.py:681/752/824/889/971) and setup_report (routers/setup.py:214) call build_plan() bare. They mostly read catalog, so they work the same. Two side effects:

  • each call may make one extra catalog read for an ambiguous chat id;
  • for a cloud user, the bug-report bundle now records the cloud-mode plan rather than what setup would download.

If the report should match setup's run, pass the value explicitly:

        record["plan"] = build_plan(skip_chat_model=False)

(Skip this if the cloud-aware view is what the report is meant to show.)

🟢 removeSetupModel has no skipChatModel param (setupApi.ts:89). The TUI's Remove sends ?skip_chat_model=false, but the webui's SetupScreen retry path (SetupScreen.tsx:784) calls the remove route with no flag. Its result is discarded today, so nothing breaks, but the API is now asymmetric with the TUI.

Checks run

  • Sibling paths: the webui (SetupScreen, LocalModelsSections, SetupSettings), the TUI (modelsetup, providers, preflight all go through setupapi, now pinned local), daemon routes, gaia init (_init_model_choices) and run_disk_warning//api/setup/run (explicit value). None still relies on the old default by accident.
  • _chat_on_cloud is gated on client is not None, so a down server doesn't trigger a catalog read. The fail-loudly LemonadeClientError from an ambiguous id becomes SetupPlanError → 503, which is not a silent fallback.
  • Docs: agent-ui.mdx and cli.mdx describe the new query; no stale claim about the old default found in docs/ or hub/.

Strengths

  • The tests pin both sides of the contract: the cloud default plans only the embedder, an explicit false matches /api/setup/run, a local chat model's plan is unchanged (build_plan() == build_plan(skip_chat_model=False)), and the Go test asserts every TUI route sends skip_chat_model=false.
  • Pulling _chat_on_cloud out of _job_model keeps one definition of "chat runs on a cloud model".
  • Invalid booleans get a 422 instead of being coerced.

`gaia init --skip-chat-model --skip-model <vision model>` started failing
with "not one of the models setup downloads", and a cloud user's bug-report
bundle recorded the cloud-mode plan. Both now check against, and record,
what a local setup downloads, as they did before.
@kovtcharov-amd

Copy link
Copy Markdown
Collaborator

Fixed the regression the last review's evidence caught: gaia init --skip-chat-model --skip-model Gemma-4-E4B-it-GGUF exits 0 again, as it does on main. The troubleshooting report also records setup's local plan again, as on main. Both now have tests. The Settings screenshot and the packaged-app steps still need a person.

@kovtcharov-amd
kovtcharov-amd added this pull request to the merge queue Nov 17, 2026
Merged via the queue into main with commit 50c235a Nov 17, 2026
109 of 110 checks passed
@kovtcharov-amd
kovtcharov-amd deleted the autofix/issue-8000 branch November 17, 2026 17:24
@kovtcharov-amd kovtcharov-amd mentioned this pull request Nov 17, 2026
kovtcharov-amd added a commit that referenced this pull request Nov 17, 2026
# GAIA v0.26.1 Release Notes

## Summary

- Changing the model server, connectors or skills in Settings now takes
effect in chats that are already open, including the terminal UI.
- "Am I free?" no longer says yes when an Outlook meeting's time can't
be read.
- A chat on a cloud model is no longer offered a large local download.
- After an agent crash, the next message gets a fresh answer instead of
the old one continued.
- 11 PRs merged since v0.26.0.

## What's New

- **Settings reach open chats** — a model server, connector or skill
change applies on the chat's next message, in the Agent UI and the
terminal UI. The terminal UI and `gaia -p` now offer only the MCP
servers turned on for GAIA. (PRs
[#8389](#8389),
[#8394](#8394),
[#8399](#8399),
[#8400](#8400))

## Bug Fixes

- **Outlook availability is no longer guessed** — a meeting whose time
can't be read is reported instead of skipped, and Outlook times parse on
Python 3.10. (PR [#8267](#8267))
- **No unwanted local download on a cloud model** — Settings › Manage
downloads leaves the local chat model unticked while chat runs on a
cloud model. (PR [#8086](#8086))
- **A reply cut short by a crash isn't continued** — the next message is
answered fresh. (PR [#8391](#8391))
- **A command's timeout never outlasts the turn's time limit.** (PR
[#8424](#8424))
- **An MCP connector shows Connected only after a check has started
it.** (PR [#8434](#8434))
- **A document overlap of 0 repeats nothing between chunks.** (PR
[#8382](#8382))
- **Closing the resource strip says how to bring it back.** (PR
[#8432](#8432))
- **A release candidate names its own pre-release as the agent's
source.** (PR [#8433](#8433))
- **The "GAIA doesn't run this model server" line is translated in
Arabic.** (PR [#8435](#8435))
- **Relay tests run against fake agents that match the real one.** (PR
[#8393](#8393))

## Full Changelog

**11 PRs** since v0.26.0. The PR links above are the changelog.

Full Changelog:
[v0.26.0...v0.26.1](v0.26.0...v0.26.1)
@kovtcharov-amd kovtcharov-amd mentioned this pull request Nov 19, 2026
kovtcharov-amd added a commit that referenced this pull request Nov 19, 2026
# GAIA v0.27.0 Release Notes

## Summary

- Connect more than one Google or Microsoft account, and manage each one
separately.
- GAIA desktop has a browser beside the chat that both you and GAIA can
use.
- Type `/` and a skill's name to run that skill on a request.
- New skills build and check Office files and triage logs.
- The standalone email agent is gone; the main GAIA agent handles mail.
- 8 contributors merged 87 PRs and closed 72 issues since v0.26.0.

## Breaking Changes

- **The standalone email agent is removed** — `gaia email`, the
`gaia-agent-email` and `@amd-gaia/agent-email` packages, the `/v1/email`
routes and the `email` setup profile are gone. Ask GAIA about your mail
in `gaia chat` or the Agent UI instead; it reads, drafts and sends
through the Google and Microsoft connectors, as the [Email
guide](/guides/email) describes. On upgrade the old install is removed,
and any email it had scheduled is named once, since it won't be sent.
(PR [#7108](#7108))
- **`gaia agent list` and `gaia eval benchmark` are removed** — GAIA
ships one agent, and `gaia agent list` now says what replaced it. (PR
[#7108](#7108))
- **`gaia.ui.email_sidecar` is renamed `gaia.ui.sidecar`** — update the
import. (PR [#7108](#7108))

## What's New

- **Several accounts per mail provider** — `gaia connectors connect
google --add` adds another account; Settings and the terminal UI list
each one with its own Reconnect, Make default and Disconnect. (PRs
[#8331](#8331),
[#8332](#8332),
[#8333](#8333))
- **Browser pane in GAIA desktop** — browse beside the chat while GAIA
reads and drives the same tab, and pick part of a page to ask about. (PR
[#5973](#5973))
- **Run a skill by name** — start a message with `/skill-name` in the
Agent UI, terminal UI, `gaia -p` or the API; typing `/` lists installed
skills. (PR [#8483](#8483))
- **Office documents** — the `office-docs` skill builds spreadsheets,
decks with editable charts and Word files; its `verify_workbook` tool
recalculates formulas to catch wrong cell references. (PR
[#5417](#5417))
- **Log triage** — the `log-triage` skill's `triage_logs` tool reads
every named log in one call and returns the anomalies, bursts and hosts
hit. (PR [#5465](#5465))
- **Skill auto-load, opt-in** — with `GAIA_SKILL_AUTOLOAD=1` a skill
that clearly matches the request loads before the turn. Off by default.
(PR [#5442](#5442))
- **Document reranking, opt-in** — `RAGConfig(enable_reranking=True)`
reorders retrieved passages with a downloaded Lemonade reranking model.
(PR [#6136](#6136))
- **Review saved folder answers** — `gaia trust` lists, adds, declines
and forgets GAIA's per-folder answers about project guidance files. (PR
[#8480](#8480))
- **Sign in to Gmail over SSH** — `gaia connectors connect google
--callback-port PORT` fixes the sign-in port so it can be forwarded. (PR
[#8474](#8474))
- **Settings reach open chats** — a model server, connector or skill
change applies on an open chat's next message, including in the terminal
UI. (PR [#8400](#8400))
- **Agent UI** — Ctrl+/ lists keyboard shortcuts, formulas render
instead of LaTeX source, the library shows which chats use each
document, a scheduled task can be edited in place with its past runs
listed, and connector setup is shown as numbered steps. (PRs
[#7504](#7504),
[#7499](#7499),
[#7514](#7514),
[#7527](#7527),
[#8281](#8281),
[#8279](#8279),
[#8280](#8280))
- **Scripted `gaia -p` runs** — `--disallowed-tools`, `--no-web` and
`--no-skills` withhold tools; the run uses the apps' model without
downloading one, uses its whole `--time-limit`, and the agent knows
nobody is there to answer questions. (PRs
[#8326](#8326),
[#7808](#7808),
[#8385](#8385),
[#8451](#8451))
- **Large tool results pass by handle** — a tool given an `output_…`
handle gets the full result without it entering the prompt. (PR
[#8121](#8121))

## Bug Fixes

- **A missing command-line program becomes a step to install it**, not a
dead end. (PR [#8251](#8251))
- **A reply that stalls partway is requested again.** (PR
[#8446](#8446))
- **A chat fails at once when the chosen model server is down**, instead
of waiting. (PR [#8436](#8436))
- **A failed turn stays marked failed in history.** (PR
[#8335](#8335))
- **A document is never reported attached when nothing was written.**
(PR [#8388](#8388))
- **Attached file names keep their spaces and non-Latin scripts.** (PR
[#8461](#8461))
- **The agent can read images GAIA generated.** (PR
[#8478](#8478))
- **A bare JSON answer ends the turn.** (PR
[#8462](#8462))
- **A reply that was all thinking is told to act**, and the next one
thinks less. (PRs [#8430](#8430),
[#8448](#8448))
- **A file shown whole with `cat` counts as read back.** (PR
[#8458](#8458))
- **`run_python` says when long output was cut**, and a script missing a
module is pointed at the system Python. (PRs
[#8450](#8450),
[#8426](#8426))
- **Time limits are respected** — the model is told the limit, a
command's timeout never outlasts it, and no test run is requested after
it. (PRs [#8429](#8429),
[#8424](#8424),
[#8452](#8452))
- **`gaia -p` streams its model calls**, so a long reply is not lost.
(PR [#8427](#8427))
- **Model SDKs load on first use**, and context checkpoints are limited.
(PR [#8459](#8459))
- **A shell result sent to the model leaves out what it already knows.**
(PR [#8428](#8428))
- **Outlook availability is no longer guessed** when a meeting's time
can't be read. (PR [#8267](#8267))
- **No local chat download is planned while chat runs on a cloud
model.** (PR [#8086](#8086))
- **Setup shows the same model size and name as Settings.** (PR
[#8431](#8431))
- **A reply cut short by a crash isn't continued.** (PR
[#8391](#8391))
- **An MCP connector shows Connected only after a check has started
it.** (PR [#8434](#8434))
- **The document library's install hint matches this build.** (PR
[#8327](#8327))
- **A document overlap of 0 repeats nothing between chunks.** (PR
[#8382](#8382))
- **Documents in Russian, Greek, Polish and other languages are split
into sentences**, so their chunks overlap like English ones instead of
being cut every 2,000 characters. (PR
[#8499](#8499))
- **Documents added while the model server was down are indexed once it
is back**, and show "Waiting", not "Failed". (PR
[#8353](#8353))
- **Setup retries and resumes a dropped assistant download** instead of
failing. (PR [#8490](#8490))
- **A failed model download stays reported after Settings closes**,
until you dismiss it. (PR
[#8468](#8468))
- **Impossible input gets a 4xx error, not a 500.** (PR
[#8291](#8291))
- **Agent UI layout** — popovers stay on screen in right-to-left layouts
at phone width, the Mac window buttons clear the folded sidebar, and
closing the resource strip says how to bring it back. (PRs
[#8455](#8455),
[#8476](#8476),
[#8432](#8432))
- **The "GAIA doesn't run this model server" line is translated in
Arabic.** (PR [#8435](#8435))
- **A release candidate names its own pre-release as the agent's
source.** (PR [#8433](#8433))

## Known Issues

- **Installed builds: `gaia -p` refuses `--time-limit`,
`--disallowed-tools`, `--no-web` and `--no-skills`**, because there the
agent runs through GAIA's background service — run without them, or from
a developer install that includes the agent package. Tracked in
[#8495](#8495).
- **NPU PCs: chat on the NPU profile returns an empty reply** — use the
GPU/CPU profile for now. Tracked in
[#6008](#6008).
- **Fedora 44: setup cannot reach any HTTPS site**, so it can neither
connect a cloud model nor download one — tracked in
[#7226](#7226).
- **Long sessions on Windows: Lemonade's bundled llama-server leaks
handles on every request** — restart the model server from time to time.
Tracked in [#8312](#8312).
- **Coding: editing a config, data or `SKILL.md` file does not mark an
earlier "tests pass" as stale** — re-run the tests after such an edit.
Tracked in [#8213](#8213).
- **Your own model server, stopped: the connection banner says it is
"not installed"** — start your server again. Tracked in
[#8313](#8313).
- **Summarizing a 1,000+ page document can time out** — ask about
sections or page ranges instead. Tracked in
[#8218](#8218).

## Contributors

Thanks to the community members who contributed to this release:

- [@tylerbea](https://github.com/tylerbea) — several accounts per
connector, the browser pane, `/skill-name` in chat, and Mac window
layout (PRs [#8331](#8331),
[#8332](#8332),
[#8333](#8333),
[#5973](#5973),
[#8483](#8483),
[#8476](#8476))
- [@akshat-lakhera](https://github.com/akshat-lakhera) — `gaia trust`
and the Gmail sign-in callback port (PRs
[#8480](#8480),
[#8474](#8474))
- [@rapuckett](https://github.com/rapuckett) — failed-turn history,
honest document attachment, right-to-left popovers, and test and tooling
fixes (PRs [#8335](#8335),
[#8388](#8388),
[#8455](#8455),
[#8453](#8453),
[#8454](#8454),
[#8471](#8471))
- [@eshitakundu](https://github.com/eshitakundu) — passing tool results
by handle, and measuring what MCP servers cost an agent (PRs
[#8121](#8121),
[#8294](#8294))
- [@bniladridas](https://github.com/bniladridas) — bare JSON answers,
attachment names, failed-download reporting, and installer and test CI
fixes (PRs [#8462](#8462),
[#8461](#8461),
[#8468](#8468),
[#8482](#8482),
[#8466](#8466),
[#8465](#8465),
[#8467](#8467),
[#8464](#8464),
[#8402](#8402))
- [@huong8373tt-beep](https://github.com/huong8373tt-beep) — optional
Lemonade reranking for document search (PR
[#6136](#6136))
- [@0z5a](https://github.com/0z5a) — sentence splitting for non-ASCII
languages (PR [#8499](#8499))

## Full Changelog

**87 commits** since v0.26.0. The PR links above are the changelog.

Full Changelog:
[v0.26.0...v0.27.0](v0.26.0...v0.27.0)
rapuckett pushed a commit to rapuckett/gaia that referenced this pull request Nov 19, 2026
…del (amd#8086)

On a PC where the user picked a cloud model for chat, Settings › Model ›
Manage downloads opened with Qwen3.6 35B ticked and **Apply: download
23.3 GB** armed, so one click started a download the user never chose.
Now the plan behind that list leaves the local chat model unticked while
chat runs on a cloud model. Only the embedder stays planned, so Apply
has nothing new to download. First-run setup and `gaia init` still pass
their own choice and work as before.

Closes amd#8000

## Test plan

- [x] `python -m pytest tests/unit/chat/ui/test_setup_plan.py` passes,
including two new tests that fail without the fix
- [x] `python -m pytest tests/unit/` passes (41,268 passed). The 6
failures here come from the sandbox (missing `python-pptx`/`pypdfium2`,
read-only site-packages, a permission denial) and none touch setup.
- [x] `python util/lint.py --all` passes
- [ ] Packaged app, clean profile: in first-run setup choose **Use a
cloud model**, then open Settings › Model › Local › Manage downloads and
disk space. Nothing new is ticked, and Apply is disabled.
- [ ] Same profile: tick a local chat model by hand and Apply. It
downloads.
- [ ] Switch chat back to a local model and reopen Manage downloads. The
planned local chat model is ticked again.

> ⚠️ **Needs manual validation** — the unit tests cover the plan, but
not the Settings screen in the packaged app. A maintainer should run the
last three steps on Windows with a cloud provider connected before
merging.

<details>
<summary>🔍 Technical details</summary>

- Root cause: `GET /api/setup/plan` calls `build_plan()` with
`skip_chat_model=False`. That puts the hardware's local chat pick in
`planned`/`selected`, and the webui's `initialSelection` ticks every
`selected` entry.
- `build_plan(skip_chat_model=None)` is the new default. `None` means
"decide from where chat runs": it skips when `resolve_chat_model()` is a
cloud model, using the same check `_job_model` already used, now shared
as `_chat_on_cloud`. Explicit `True`/`False` from `run_disk_warning`,
`/api/setup/run` and `gaia init --plan` is unchanged.
- No check runs when Lemonade is unreachable (`client is None`). An
ambiguous model id would otherwise need a catalog read from a server
that isn't there, and Settings hides the checklist in that state anyway.
- Not changed: `chat_model.id` still reports setup's local pick, because
`SetupSettings`, `SetupScreen` and `skipChanges` all treat it that way.
In Settings the "Default chat model" select now shows a downloaded local
model, or "no chat model", instead of the undownloaded Qwen. Making it
name the cloud model would mean changing the frontend.
</details>

---------

Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Kalin Ovtcharov <[email protected]>
rapuckett pushed a commit to rapuckett/gaia that referenced this pull request Nov 19, 2026
# GAIA v0.26.1 Release Notes

## Summary

- Changing the model server, connectors or skills in Settings now takes
effect in chats that are already open, including the terminal UI.
- "Am I free?" no longer says yes when an Outlook meeting's time can't
be read.
- A chat on a cloud model is no longer offered a large local download.
- After an agent crash, the next message gets a fresh answer instead of
the old one continued.
- 11 PRs merged since v0.26.0.

## What's New

- **Settings reach open chats** — a model server, connector or skill
change applies on the chat's next message, in the Agent UI and the
terminal UI. The terminal UI and `gaia -p` now offer only the MCP
servers turned on for GAIA. (PRs
[amd#8389](amd#8389),
[amd#8394](amd#8394),
[amd#8399](amd#8399),
[amd#8400](amd#8400))

## Bug Fixes

- **Outlook availability is no longer guessed** — a meeting whose time
can't be read is reported instead of skipped, and Outlook times parse on
Python 3.10. (PR [amd#8267](amd#8267))
- **No unwanted local download on a cloud model** — Settings › Manage
downloads leaves the local chat model unticked while chat runs on a
cloud model. (PR [amd#8086](amd#8086))
- **A reply cut short by a crash isn't continued** — the next message is
answered fresh. (PR [amd#8391](amd#8391))
- **A command's timeout never outlasts the turn's time limit.** (PR
[amd#8424](amd#8424))
- **An MCP connector shows Connected only after a check has started
it.** (PR [amd#8434](amd#8434))
- **A document overlap of 0 repeats nothing between chunks.** (PR
[amd#8382](amd#8382))
- **Closing the resource strip says how to bring it back.** (PR
[amd#8432](amd#8432))
- **A release candidate names its own pre-release as the agent's
source.** (PR [amd#8433](amd#8433))
- **The "GAIA doesn't run this model server" line is translated in
Arabic.** (PR [amd#8435](amd#8435))
- **Relay tests run against fake agents that match the real one.** (PR
[amd#8393](amd#8393))

## Full Changelog

**11 PRs** since v0.26.0. The PR links above are the changelog.

Full Changelog:
[v0.26.0...v0.26.1](amd/gaia@v0.26.0...v0.26.1)
rapuckett pushed a commit to rapuckett/gaia that referenced this pull request Nov 19, 2026
# GAIA v0.27.0 Release Notes

## Summary

- Connect more than one Google or Microsoft account, and manage each one
separately.
- GAIA desktop has a browser beside the chat that both you and GAIA can
use.
- Type `/` and a skill's name to run that skill on a request.
- New skills build and check Office files and triage logs.
- The standalone email agent is gone; the main GAIA agent handles mail.
- 8 contributors merged 87 PRs and closed 72 issues since v0.26.0.

## Breaking Changes

- **The standalone email agent is removed** — `gaia email`, the
`gaia-agent-email` and `@amd-gaia/agent-email` packages, the `/v1/email`
routes and the `email` setup profile are gone. Ask GAIA about your mail
in `gaia chat` or the Agent UI instead; it reads, drafts and sends
through the Google and Microsoft connectors, as the [Email
guide](/guides/email) describes. On upgrade the old install is removed,
and any email it had scheduled is named once, since it won't be sent.
(PR [amd#7108](amd#7108))
- **`gaia agent list` and `gaia eval benchmark` are removed** — GAIA
ships one agent, and `gaia agent list` now says what replaced it. (PR
[amd#7108](amd#7108))
- **`gaia.ui.email_sidecar` is renamed `gaia.ui.sidecar`** — update the
import. (PR [amd#7108](amd#7108))

## What's New

- **Several accounts per mail provider** — `gaia connectors connect
google --add` adds another account; Settings and the terminal UI list
each one with its own Reconnect, Make default and Disconnect. (PRs
[amd#8331](amd#8331),
[amd#8332](amd#8332),
[amd#8333](amd#8333))
- **Browser pane in GAIA desktop** — browse beside the chat while GAIA
reads and drives the same tab, and pick part of a page to ask about. (PR
[amd#5973](amd#5973))
- **Run a skill by name** — start a message with `/skill-name` in the
Agent UI, terminal UI, `gaia -p` or the API; typing `/` lists installed
skills. (PR [amd#8483](amd#8483))
- **Office documents** — the `office-docs` skill builds spreadsheets,
decks with editable charts and Word files; its `verify_workbook` tool
recalculates formulas to catch wrong cell references. (PR
[amd#5417](amd#5417))
- **Log triage** — the `log-triage` skill's `triage_logs` tool reads
every named log in one call and returns the anomalies, bursts and hosts
hit. (PR [amd#5465](amd#5465))
- **Skill auto-load, opt-in** — with `GAIA_SKILL_AUTOLOAD=1` a skill
that clearly matches the request loads before the turn. Off by default.
(PR [amd#5442](amd#5442))
- **Document reranking, opt-in** — `RAGConfig(enable_reranking=True)`
reorders retrieved passages with a downloaded Lemonade reranking model.
(PR [amd#6136](amd#6136))
- **Review saved folder answers** — `gaia trust` lists, adds, declines
and forgets GAIA's per-folder answers about project guidance files. (PR
[amd#8480](amd#8480))
- **Sign in to Gmail over SSH** — `gaia connectors connect google
--callback-port PORT` fixes the sign-in port so it can be forwarded. (PR
[amd#8474](amd#8474))
- **Settings reach open chats** — a model server, connector or skill
change applies on an open chat's next message, including in the terminal
UI. (PR [amd#8400](amd#8400))
- **Agent UI** — Ctrl+/ lists keyboard shortcuts, formulas render
instead of LaTeX source, the library shows which chats use each
document, a scheduled task can be edited in place with its past runs
listed, and connector setup is shown as numbered steps. (PRs
[amd#7504](amd#7504),
[amd#7499](amd#7499),
[amd#7514](amd#7514),
[amd#7527](amd#7527),
[amd#8281](amd#8281),
[amd#8279](amd#8279),
[amd#8280](amd#8280))
- **Scripted `gaia -p` runs** — `--disallowed-tools`, `--no-web` and
`--no-skills` withhold tools; the run uses the apps' model without
downloading one, uses its whole `--time-limit`, and the agent knows
nobody is there to answer questions. (PRs
[amd#8326](amd#8326),
[amd#7808](amd#7808),
[amd#8385](amd#8385),
[amd#8451](amd#8451))
- **Large tool results pass by handle** — a tool given an `output_…`
handle gets the full result without it entering the prompt. (PR
[amd#8121](amd#8121))

## Bug Fixes

- **A missing command-line program becomes a step to install it**, not a
dead end. (PR [amd#8251](amd#8251))
- **A reply that stalls partway is requested again.** (PR
[amd#8446](amd#8446))
- **A chat fails at once when the chosen model server is down**, instead
of waiting. (PR [amd#8436](amd#8436))
- **A failed turn stays marked failed in history.** (PR
[amd#8335](amd#8335))
- **A document is never reported attached when nothing was written.**
(PR [amd#8388](amd#8388))
- **Attached file names keep their spaces and non-Latin scripts.** (PR
[amd#8461](amd#8461))
- **The agent can read images GAIA generated.** (PR
[amd#8478](amd#8478))
- **A bare JSON answer ends the turn.** (PR
[amd#8462](amd#8462))
- **A reply that was all thinking is told to act**, and the next one
thinks less. (PRs [amd#8430](amd#8430),
[amd#8448](amd#8448))
- **A file shown whole with `cat` counts as read back.** (PR
[amd#8458](amd#8458))
- **`run_python` says when long output was cut**, and a script missing a
module is pointed at the system Python. (PRs
[amd#8450](amd#8450),
[amd#8426](amd#8426))
- **Time limits are respected** — the model is told the limit, a
command's timeout never outlasts it, and no test run is requested after
it. (PRs [amd#8429](amd#8429),
[amd#8424](amd#8424),
[amd#8452](amd#8452))
- **`gaia -p` streams its model calls**, so a long reply is not lost.
(PR [amd#8427](amd#8427))
- **Model SDKs load on first use**, and context checkpoints are limited.
(PR [amd#8459](amd#8459))
- **A shell result sent to the model leaves out what it already knows.**
(PR [amd#8428](amd#8428))
- **Outlook availability is no longer guessed** when a meeting's time
can't be read. (PR [amd#8267](amd#8267))
- **No local chat download is planned while chat runs on a cloud
model.** (PR [amd#8086](amd#8086))
- **Setup shows the same model size and name as Settings.** (PR
[amd#8431](amd#8431))
- **A reply cut short by a crash isn't continued.** (PR
[amd#8391](amd#8391))
- **An MCP connector shows Connected only after a check has started
it.** (PR [amd#8434](amd#8434))
- **The document library's install hint matches this build.** (PR
[amd#8327](amd#8327))
- **A document overlap of 0 repeats nothing between chunks.** (PR
[amd#8382](amd#8382))
- **Documents in Russian, Greek, Polish and other languages are split
into sentences**, so their chunks overlap like English ones instead of
being cut every 2,000 characters. (PR
[amd#8499](amd#8499))
- **Documents added while the model server was down are indexed once it
is back**, and show "Waiting", not "Failed". (PR
[amd#8353](amd#8353))
- **Setup retries and resumes a dropped assistant download** instead of
failing. (PR [amd#8490](amd#8490))
- **A failed model download stays reported after Settings closes**,
until you dismiss it. (PR
[amd#8468](amd#8468))
- **Impossible input gets a 4xx error, not a 500.** (PR
[amd#8291](amd#8291))
- **Agent UI layout** — popovers stay on screen in right-to-left layouts
at phone width, the Mac window buttons clear the folded sidebar, and
closing the resource strip says how to bring it back. (PRs
[amd#8455](amd#8455),
[amd#8476](amd#8476),
[amd#8432](amd#8432))
- **The "GAIA doesn't run this model server" line is translated in
Arabic.** (PR [amd#8435](amd#8435))
- **A release candidate names its own pre-release as the agent's
source.** (PR [amd#8433](amd#8433))

## Known Issues

- **Installed builds: `gaia -p` refuses `--time-limit`,
`--disallowed-tools`, `--no-web` and `--no-skills`**, because there the
agent runs through GAIA's background service — run without them, or from
a developer install that includes the agent package. Tracked in
[amd#8495](amd#8495).
- **NPU PCs: chat on the NPU profile returns an empty reply** — use the
GPU/CPU profile for now. Tracked in
[amd#6008](amd#6008).
- **Fedora 44: setup cannot reach any HTTPS site**, so it can neither
connect a cloud model nor download one — tracked in
[amd#7226](amd#7226).
- **Long sessions on Windows: Lemonade's bundled llama-server leaks
handles on every request** — restart the model server from time to time.
Tracked in [amd#8312](amd#8312).
- **Coding: editing a config, data or `SKILL.md` file does not mark an
earlier "tests pass" as stale** — re-run the tests after such an edit.
Tracked in [amd#8213](amd#8213).
- **Your own model server, stopped: the connection banner says it is
"not installed"** — start your server again. Tracked in
[amd#8313](amd#8313).
- **Summarizing a 1,000+ page document can time out** — ask about
sections or page ranges instead. Tracked in
[amd#8218](amd#8218).

## Contributors

Thanks to the community members who contributed to this release:

- [@tylerbea](https://github.com/tylerbea) — several accounts per
connector, the browser pane, `/skill-name` in chat, and Mac window
layout (PRs [amd#8331](amd#8331),
[amd#8332](amd#8332),
[amd#8333](amd#8333),
[amd#5973](amd#5973),
[amd#8483](amd#8483),
[amd#8476](amd#8476))
- [@akshat-lakhera](https://github.com/akshat-lakhera) — `gaia trust`
and the Gmail sign-in callback port (PRs
[amd#8480](amd#8480),
[amd#8474](amd#8474))
- [@rapuckett](https://github.com/rapuckett) — failed-turn history,
honest document attachment, right-to-left popovers, and test and tooling
fixes (PRs [amd#8335](amd#8335),
[amd#8388](amd#8388),
[amd#8455](amd#8455),
[amd#8453](amd#8453),
[amd#8454](amd#8454),
[amd#8471](amd#8471))
- [@eshitakundu](https://github.com/eshitakundu) — passing tool results
by handle, and measuring what MCP servers cost an agent (PRs
[amd#8121](amd#8121),
[amd#8294](amd#8294))
- [@bniladridas](https://github.com/bniladridas) — bare JSON answers,
attachment names, failed-download reporting, and installer and test CI
fixes (PRs [amd#8462](amd#8462),
[amd#8461](amd#8461),
[amd#8468](amd#8468),
[amd#8482](amd#8482),
[amd#8466](amd#8466),
[amd#8465](amd#8465),
[amd#8467](amd#8467),
[amd#8464](amd#8464),
[amd#8402](amd#8402))
- [@huong8373tt-beep](https://github.com/huong8373tt-beep) — optional
Lemonade reranking for document search (PR
[amd#6136](amd#6136))
- [@0z5a](https://github.com/0z5a) — sentence splitting for non-ASCII
languages (PR [amd#8499](amd#8499))

## Full Changelog

**87 commits** since v0.26.0. The PR links above are the changelog.

Full Changelog:
[v0.26.0...v0.27.0](amd/gaia@v0.26.0...v0.27.0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working cli CLI changes documentation Documentation changes onboarding First-run experience, setup wizard, and user onboarding tests Test changes tui Go terminal UI (gaia-tui)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cloud setup: Manage downloads opens with Qwen3.6 35B ticked and "Apply: download 23.3 GB" armed

1 participant