Repository navigation
docs: fix wrong model defaults, fabricated CLI commands, and stale references - #1298
Conversation
…ale references Several docs described commands and defaults that don't exist in the code, so users copy-pasting them hit errors and contributors trusted wrong values. The chat/global default model is Gemma-4-E4B-it-GGUF, but CLAUDE.md, the LLM SDK doc, the Chat SDK doc, and the EMR guide all claimed Qwen variants (CLAUDE.md even contradicted itself). docs/reference/cli.mdx documented six commands that were never implemented (`gaia mcp add`/`remove`, `visualize`, `groundtruth`, `batch-experiment`, `eval -f`) plus wrong defaults (sd model, download/Lemonade ports) and a duplicate Kill section. CLAUDE.md's structure tree, agent table, tool-mixin table, and CLI list had drifted from the code, and the code guide falsely claimed Python generation was removed. Changes: - Default model corrected to Gemma-4-E4B-it-GGUF across CLAUDE.md, llm.mdx, chat.mdx, and emr.mdx (EMR VLM included); per-agent table now matches code. - cli.mdx: removed the six fabricated commands, fixed sd/download/Lemonade defaults, added the `npu` init profile, dropped the stale duplicate Kill section, and documented previously-missing real commands (summarize, jira, docker, telegram). - CLAUDE.md: structure tree, agent table, and KNOWN_TOOLS table synced to the real source; GaiaAgent rename marked planned (not done); CLI list corrected. - code.mdx: Python generation documented as still supported (it's the default). - agent-ui.mdx: Lemonade port 13305 and a broken in-page anchor fixed. - AGENTS.md: removed the stale "currently active PR #606" note (merged). - Removed the orphaned duplicate guides/telegram.mdx (superseded by telegram-adapter.mdx).
|
@claude review this PR. |
|
Reviewed — every corrected fact in this PR matches the source. 🟢 Looks good to merge. I verified the substantive claims against
Also confirmed the housekeeping is clean: One note for whoever merges: the Nice cleanup — this removes the copy-paste-and-it-errors traps. No blockers from me. |
Resolve conflicts in CLAUDE.md and docs/reference/cli.mdx by taking main's versions: PRs #1337, #1340, #1364 already synced both files to the code more recently, and the PR's stale side reintroduced removed commands (mcp add/remove) and the broken /guides/summarize link that was failing the internal cross-reference CI check. Keep the PR's still-valid accuracy fixes (Gemma-4-E4B-it default in chat/llm/emr docs, agent-ui Lemonade port 13305 + #install anchor, code agent Python-gen still supported, telegram.mdx removal, #606 stale-note removal). Fix one contradiction the merge surfaced: main's CLAUDE.md and emr/cli.py listed the EMR VLM as Qwen3-VL-4B, but agent.py and all --vlm-model defaults are Gemma-4-E4B-it-GGUF. Aligned both with the code and emr.mdx.
|
🟡 Two missed spots in the VLM model rename — both will leave
Should be
vlm_model: VLM model to use (default: Qwen3-VL-4B-Instruct-GGUF)but the actual default at line 55 is already Everything else in the diff looks consistent and correct. |
Two spots still referenced the old Qwen3-VL-4B as the VLM default, both contradicting the code: `gaia init --profile vlm` downloads Gemma-4-E4B-it-GGUF (init_command.py) and VLMToolsMixin.init_vlm defaults to it (mixin.py:55). - docs/sdk/sdks/vlm.mdx: setup line now says Gemma-4-E4B-it-GGUF - src/gaia/vlm/mixin.py: docstring matches the actual default
|
Both fixed in 0d2891b — verified against the code:
The other |
…ction Full doc-vs-code audit of the CLI reference and SDK/guide docs surfaced several stale values that contradicted the actual code: - init profile table was entirely wrong — it listed Qwen3.5-35B / Qwen3-VL-4B ~25 GB setups, but INIT_PROFILES (src/gaia/installer/init_command.py) uses Gemma-4-E4B-it-GGUF across the board (3-4 GB). Rewrote every row to match, added the missing `npu` profile, and dropped the `mcp` row (it is not a real INIT_PROFILES entry — `gaia init --profile mcp` raises ValueError). - `gaia download --port` and `gaia kill` Lemonade port: 8000 -> 13305. - `gaia sd --sd-model` default: SD-Turbo -> SDXL-Turbo. - `gaia prompt`/`gaia talk` `--model` default: Qwen3-0.6B-GGUF -> auto (parent parser default is None; the agent auto-selects). - Removed the false "all profiles include Qwen3-0.6B" note; `gaia llm` uses the global default (Gemma-4-E4B-it-GGUF). - Added a Connectors CLI section (the command existed but had no reference). - rag.mdx: chunk_size default 512 -> 500 (matches RAGConfig and the example). - emr.mdx: LLM named precisely as Qwen3.5-35B-A3B-GGUF. - CLAUDE.md: EMR model name format consistency; tools/ description clarity.
|
🟡
Either:
The |
Second-round doc-vs-code audit across the remaining guides, CLI sections, and SDK reference docs: - sd.mdx: the SD agent uses a single multimodal Gemma-4-E4B-it-GGUF for both the LLM (orchestration) and VLM (vision/stories) roles plus SDXL-Turbo, but the guide described Qwen3-8B + Qwen3-VL-4B as separate models throughout (overview, model lists, diagrams, tables, code, sizing). Corrected every reference, consolidated the duplicated model rows, and fixed the ~15 GB -> ~10 GB download total. - connectors.mdx: get_access_token / get_access_token_sync examples used connector_id=, but the API parameter is provider= (grant_agent and ConnectorRequirement correctly use connector_id, so those were left as-is). - code-index.mdx: --base-url default 8000 -> 13305. - cli.mdx: removed the documented `gaia api start --background` flag (the api parser has no such option); completed the Summarize and Blender option tables to match their argparse definitions.
|
🟡 The updated choices=["minimal", "sd", "chat", "code", "rag", "mcp", "vlm", "npu", "all"],
Either add |
19 PRs merged to main after the v0.20.0 notes were drafted; merge main into the release branch and update the notes to match. - Multi-Device: note #1338 wired the selector end-to-end (it was a no-op after #1252 alone) and added loud runtime validation for unavailable devices. - PowerPoint RAG: note #1366 unblocked .pptx in the Agent UI file picker (backend already accepted it; the frontend rejected it pre-upload). - Activations: note #1310 widened the "Active for" panel to MCP-consuming agents (e.g. the chat agent), not just static REQUIRED_CONNECTORS. - New bug fixes: RAG embedding reuse (#1306), overlapping-chat-turn 409 (#1304), Memory/Settings mutual exclusivity (#1368). - Tooling/CI: doc-vs-code realignment (#1298/#1337/#1340), gaia-testing skill (#1372), Claude CI + Codecov hardening. - Full Changelog regenerated: 44 -> 63 commits.
…md#1377) `gaia init --profile mcp` finishes by telling the user to run `gaia mcp add time "uvx mcp-server-time"`, and `gaia mcp list` (empty state) says the same. That command was **removed in amd#977** — anyone who follows the on-screen guidance hits an "invalid choice" error on their very first step. This swaps both messages for the path that works today: edit `~/.gaia/mcp_servers.json` directly (shown with a correct `mcpServers` example) and verify with `gaia mcp list`. The stale `/docs/` doc link is corrected to the live `https://amd-gaia.ai/guides/mcp/client` too. Split out of amd#1298, which purged these same dead `gaia mcp add`/`remove` references from the **docs** but deliberately scoped itself to `docs/` — this fixes the matching **runtime CLI output** that amd#1298 left untouched. Related to amd#1075 (init profiles need attention) but distinct from it: amd#1075 tracks model-download profiles collapsing to Gemma-4-E4B, whereas the `mcp` profile downloads no model at all and was failing purely on its post-setup guidance. ## Test plan - [x] `pytest tests/unit/installer/test_mcp_init.py` — new regression test asserts the guidance contains no `gaia mcp add` and does point at editing `mcp_servers.json` - [x] `gaia init --profile mcp --yes` — "Next steps" shows the config-file edit + `gaia mcp list`, no dead command - [x] `gaia mcp list` (no servers configured) — empty-state guidance shows the config example, no dead command - [x] `python util/lint.py --black --isort` passes --------- Co-authored-by: Ovtcharov <[email protected]>
A repo-wide doc audit found documentation that actively misleads users and contributors.
docs/reference/cli.mdxdocumented six commands that don't exist (gaia mcp add/remove,visualize,groundtruth,batch-experiment,eval -f) — anyone copy-pasting them hits an error — plus wrong defaults (SD model,download/Lemonade ports) and a duplicate Kill section. The chat/global default model isGemma-4-E4B-it-GGUF, but CLAUDE.md, the LLM and Chat SDK docs, and the EMR guide all claimed Qwen variants (CLAUDE.md contradicted itself). The code guide falsely stated Python generation was removed (it's still the default), CLAUDE.md's structure/agent/tool tables had drifted from the source, andagent-ui.mdxshowed the wrong Lemonade port. After this PR the docs match the code.This is the documentation half of the audit; the code-hygiene + test-coverage findings ship separately.
Test plan
python -c "import json; json.load(open('docs/docs.json'))"— nav still valid JSONgrep -rE "gaia (mcp add|mcp remove|visualize|groundtruth|batch-experiment)" docs/reference/cli.mdx— returns nothinggaia sd -h(SDXL-Turbo),gaia download -h(port 13305),gaia init -h(npuprofile present)grep -rn "GaiaAgent" src/gaia— still zero matches, confirming the "planned, not done" wording is correct