Skip to content

fix(cli): don't blame the user's connection when the search service errors - #8311

Merged
kovtcharov-amd merged 6 commits into
amd:mainfrom
kovtcharov:fix/knowledge-search-network-error
Nov 16, 2026
Merged

kovtcharov-amd merged 6 commits into
amd:mainfrom
kovtcharov:fix/knowledge-search-network-error

Conversation

@kovtcharov

@kovtcharov kovtcharov commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

When the web search service answered with an error, such as a Tavily 503, gaia knowledge search told the user to check their internet connection, though their connection was fine. Now only connection failures and timeouts get that advice. A server error says the service answered with that status and may be down for a moment.

#8310, merged while this PR was in review, already turned the traceback into a message. This PR is now just this narrowing, from the review below: #8310 catches every RequestException, and HTTPError is one of them.

connection reset / proxy refused / timeout:  ❌ Web search failed: DuckDuckGo could not be reached (…). Check your internet connection or proxy settings and try again.
service answered 503:                        ❌ Web search failed: Tavily answered with 503. It may be down for a moment; try again later.

Test plan

  • New test_a_server_error_is_not_blamed_on_the_users_connection: a 503 exits 1 with the status named and no "check your internet connection".
  • fix(knowledge): report a dropped search connection instead of a traceback #8310's tests still pass: dropped connections, SSL errors, read timeouts, rate limits, the freeze-walk path. The knowledge CLI and Tavily wrapper suites: 50 passed.
  • Live with a dead proxy: the connection message as before, exit 1.

…rash

When the network reset or a proxy refused, 'gaia knowledge search' and
'extract' died with a traceback ('Failed to execute script entry' in the
frozen build). They now say the web search service could not be reached
and to check the connection, and exit 1. This was also failing the
frozen-core smoke check on main, which runs 'gaia knowledge search' on a
CI runner whose connection was reset.
@github-actions

Copy link
Copy Markdown
Contributor

Verdict: Approve with suggestions

gaia knowledge search and extract now print a short "couldn't reach the web search service" message and exit 1 when the network drops, instead of crashing with a traceback. The fix is small, correctly placed, tested for both commands, and the description shows the before/after live run.

One thing to tighten: the new handler also catches errors where the service answered with a failure, such as a Tavily server error (5xx). Those would tell the user to check their internet connection when the internet is fine. Narrowing the catch to connection and timeout errors keeps the message honest.

Real-world evidence

N/A: no evidence bundle was produced for this run. The PR description includes a manual before/after run with a dead HTTPS_PROXY (traceback before, plain message and exit 1 after), but this job didn't re-run it. The verdict rests on static review plus that author-supplied output. The PR's last test-plan item, the linux-arm64 frozen-core smoke check going green, is still unchecked. I couldn't find that smoke step in .github/, packaging/ or scripts/, so I can't confirm it passes when the command exits 1 instead of crashing.

🔍 Technical details

Issues

🟡 The handler reports HTTP errors as network failures (src/gaia/cli.py:7591)
requests.exceptions.RequestException is the base class of HTTPError. The Tavily SDK falls back to response.raise_for_status() for status codes it doesn't map to its own exceptions (5xx, for example; I couldn't check the installed SDK version here), so a server-side failure would print "the connection failed or timed out. Check your internet connection". That is the Dishonest status class in missed-bug-classes: the message should name the real cause. Catch only the transport failures (ConnectionError covers ProxyError and SSLError):

    except (
        requests.exceptions.ConnectionError,
        requests.exceptions.Timeout,
    ) as e:

An HTTPError would then still raise loudly. If it should also get a friendly message, give it a separate branch that names the status code.

🟢 The new test can't tell the two error kinds apart (tests/unit/test_cli_knowledge_command.py:229)
It only raises ConnectionError. If you narrow the catch, add a case where an HTTPError does not get the "check your internet connection" wording, so the distinction can't quietly regress.

Strengths

  • The handler goes inside the existing try/finally, so client.close() still runs on the new path.
  • It prints the exception type (Detail: ProxyError) without dumping the URL or proxy host, which is useful for bug reports without being noisy.
  • The test is parametrized over search and extract and asserts the exit code, the message and that no traceback appears.

@kovtcharov

Copy link
Copy Markdown
Contributor Author

Narrowed as suggested. Only ConnectionError and Timeout get "check your internet connection". An HTTPError the service answered with now says "The web search service answered with 503. It may be down for a moment; try again later.", naming the status. A new test pins that a 503 never gets the internet wording.

🔍 Technical details
  • test_a_server_error_is_not_blamed_on_the_users_connection is new. The knowledge CLI and Tavily wrapper tests: 40 passed. The dead-proxy live run still prints the plain message and exits 1.
  • The smoke step is installer/core/smoke_test.py, called from the TUI Build & Test installers job ("Smoke-test the frozen core"). Its walk starts each command and fails only on the markers in BROKEN_START (Traceback, Failed to execute script, ModuleNotFoundError, …), not on the exit code, so a clean exit 1 passes. The run on this PR will show it.

Only connection and timeout errors get 'check your internet connection';
an HTTP error the service answered with now names its status instead.
…network-error

# Conflicts:
#	src/gaia/cli.py
#	tests/unit/test_cli_knowledge_command.py
@kovtcharov kovtcharov changed the title fix(cli): a dropped connection in gaia knowledge is an error, not a crash fix(cli): don't blame the user's connection when the search service errors Nov 16, 2026
@kovtcharov

Copy link
Copy Markdown
Contributor Author

Rescoped: #8310 merged the traceback fix while this was in review, so I merged main in and kept only your narrowing on top of it. Connection errors and timeouts keep #8310's wording; an HTTPError now names the status instead of blaming the connection. All of #8310's tests still pass alongside the new 503 one (50 passed). The title and description now describe just that.

@github-actions

Copy link
Copy Markdown
Contributor

Verdict: Request changes

🟡 The narrowing brings back the traceback for some network failures that #8310 had covered. A connection that drops partway through a response, a redirect loop, or a malformed URL now crashes gaia knowledge search/extract again instead of printing a one-line error. Keep a final catch-all for other request errors under the two new branches, plus a test that pins it.

🔍 Technical details

src/gaia/cli.py:7592 now catches only ConnectionError, Timeout and HTTPError. Other RequestException subclasses get no handler at all: ChunkedEncodingError (the peer drops the connection mid-body, which is the "dropped connection" case #8310 fixed), ContentDecodingError, TooManyRedirects, InvalidURL/MissingSchema (a bad extract URL) and RetryError. Before this PR the RequestException handler turned all of them into a clean exit 1.

    except requests.exceptions.HTTPError as e:
        ...
        sys.exit(1)
    except requests.exceptions.RequestException as e:
        service = "Tavily" if client.configured else "DuckDuckGo"
        print(f"❌ Web {action} failed: {service} request error ({e}).")
        sys.exit(1)

Add a test that raises requests.exceptions.ChunkedEncodingError and asserts exit 1 with no traceback.

@kovtcharov

Copy link
Copy Markdown
Contributor Author

Fixed, thanks: the narrowing had brought those tracebacks back.

  • A connection dropped mid-response (ChunkedEncodingError) now gets the dropped-connection message.
  • A final RequestException catch-all under the other branches turns anything else (a redirect loop, a malformed URL, a content-decoding error) into a one-line "the … request could not complete" message and exit 1.
  • A server error still names its status, and a 503 still never says to check your internet connection.
🔍 Technical details
  • New: test_a_connection_dropped_mid_response_is_a_dropped_connection, and test_any_other_request_error_is_still_a_clean_exit for TooManyRedirects, MissingSchema and ContentDecodingError. All four fail on 5b87736.
  • Knowledge CLI and Tavily wrapper suites: 54 passed.

kovtcharov and others added 2 commits November 15, 2026 16:26
Narrowing the catch to connection and timeout errors brought back the
traceback for a connection dropped mid-response (ChunkedEncodingError),
a redirect loop and a malformed URL. A connection dropped mid-response
now counts as a dropped connection, and a final catch-all turns any
other request error into a one-line message and exit 1.
@kovtcharov-amd kovtcharov-amd added the ready_for_ci Run CI workflows on draft PR without requesting review label Nov 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Verdict: Approve with suggestions

When the search service itself fails, gaia knowledge no longer tells the user to check their internet connection. Connection failures, timeouts and connections dropped mid-response keep that advice. A server error now names the status it answered with. Anything else is still a clean one-line exit instead of a traceback. The change is narrow, ordered correctly, and tested for each new branch.

One gap the PR doesn't cause: without a Tavily key, search goes to DuckDuckGo, and a 500, 502 or 504 from DuckDuckGo still ends in a traceback. That error never reaches these new handlers. Worth a follow-up issue, not a blocker.

Real-world evidence

N/A: no evidence bundle was produced for this run. The verdict rests on static review. The PR description reports a live run against a dead proxy (connection message, exit 1); the 503 path is covered only by the new unit test. I couldn't run the tests here because pytest isn't installed on this runner.

🔍 Technical details

Issues found

🟡 Follow-up: "DuckDuckGo 5xx crashes gaia knowledge search with a traceback" (src/gaia/web/client.py:1517-1521)
On the DuckDuckGo fallback (no Tavily key, the default setup), a status that isn't 200 and isn't in SEARCH_BLOCK_STATUSES ({202, 403, 429, 503}) raises a bare RuntimeError("DuckDuckGo answered HTTP …"). None of the handlers in handle_knowledge_command catch it, so a 500, 502 or 504 still prints a traceback. That is the case this PR's description promises to handle ("a server error says the service answered with that status"). The fix belongs in the web client: raise requests.HTTPError(..., response=response) there, or SearchUnavailableError, and the new branch here picks it up. This predates the PR, so it doesn't block the merge.

🟢 Wording for 4xx (src/gaia/cli.py:7607-7610): "It may be down for a moment" fits a 5xx. A 4xx that reaches HTTPError (e.g. 404) isn't a transient outage. Optional:

        status = getattr(e.response, "status_code", None) or "an error"
        hint = (
            "It may be down for a moment; try again later."
            if not isinstance(status, int) or status >= 500
            else "Check the request and try again."
        )
        print(f"❌ Web {action} failed: {service} answered with {status}. {hint}")

Checked, no issue

  • Handler order: ProxyError, SSLError and ConnectTimeout are subclasses of ConnectionError, so the connection advice still covers them, as fix(knowledge): report a dropped search connection instead of a traceback #8310's tests expect. ChunkedEncodingError isn't a ConnectionError, so listing it explicitly is right. HTTPError sits before the catch-all RequestException.
  • getattr(e.response, "status_code", None) handles an HTTPError raised without a response.
  • Docs: no stale "check your internet connection" wording for gaia knowledge in docs/.

Strengths

  • Each new branch has its own test, and the parametrized catch-all test asserts the connection advice is absent, which is the regression that matters.
  • The comments are short and give the reason (e.g. "the user's network is fine"), which matches the repo style.

A rejected request now says to check the query or URL; only a 5xx says the
service may be down for a moment.
@kovtcharov-amd kovtcharov-amd added ready_for_ci Run CI workflows on draft PR without requesting review and removed ready_for_ci Run CI workflows on draft PR without requesting review labels Nov 16, 2026
@kovtcharov-amd

Copy link
Copy Markdown
Collaborator

Took the 4xx wording: a rejected request now says to check the query or URL, and only a 5xx says the service may be down. New test pins a 400. The DuckDuckGo 5xx traceback predates this PR and belongs in the web client, so I'll leave it for a follow-up.

@github-actions

Copy link
Copy Markdown
Contributor

Verdict: Approve with suggestions

When the search service itself returns an error, gaia knowledge search/extract no longer tells the user to check their internet connection. It now names the status and says whether the request was rejected or the service is down. The narrowing is correct and well tested, and nothing blocks the merge.

One follow-up sits next to this change rather than in it. With a Tavily key set, the commonest Tavily failures still crash with a traceback: an invalid key, a used-up quota, a rejected query, a timeout. The Tavily library raises its own error types for these, so none of the new branches catches them. That deserves its own issue.

Real-world evidence

N/A: no evidence bundle was produced for this run. The PR description reports one live check (a dead proxy still prints the connection message and exits 1). The new 4xx and 5xx messages were exercised only by unit tests. That is reasonable for a CLI error string, but the verdict on those two branches rests on static review.

🔍 Technical details

Issues

🟡 Follow-up: Tavily's own errors bypass the handler (src/gaia/cli.py:7589-7620). Suggested issue title: "gaia knowledge: Tavily auth/quota/timeout errors crash with a traceback".

  • In tavily-python 0.8.5 (setup.py pins >=0.5.0), the SDK maps 429 → UsageLimitExceededError, 401 → InvalidAPIKeyError, 400 → BadRequestError and 403/432/433 → ForbiddenError. It also re-raises requests.exceptions.Timeout as the builtin TimeoutError. None of these is a requests.RequestException, and nothing in src/gaia catches them.
  • Because of that, the new HTTPError branch only ever sees the leftover statuses (404, 422, 5xx). The four realistic Tavily failures, including a timeout, still end in a traceback.
  • This was already true before the PR, so it doesn't block. The fix is to catch tavily.errors.* and the builtin TimeoutError at this boundary.

🟢 The DuckDuckGo label in the HTTPError branch never shows. The DDG search path turns a non-200 into RuntimeError or SearchUnavailableError, never HTTPError, and extract with no key raises TavilyConfigError first. The label does no harm, but the branch only ever names Tavily.

🟢 The MissingSchema test case can't happen through this command (tests/unit/test_cli_knowledge_command.py, last parametrized test). extract sends the user's URLs to Tavily in a request body, so a malformed URL never reaches requests. The test still proves the catch-all branch works; the comment about "a malformed URL" just oversells how it gets triggered.

Strengths

  • Branch order is right. SSLError, ProxyError and ConnectTimeout all subclass ConnectionError, so the "could not be reached" tests from fix(knowledge): report a dropped search connection instead of a traceback #8310 still apply. HTTPError is checked before the RequestException catch-all.
  • Each new test asserts what the message must not say ("Check your internet connection", "down for a moment") as well as what it must say. Those negative checks are what pin down this bug.
  • The catch-all still exits 1 with an honest message. Non-network bugs (ValueError, RuntimeError) still surface, as test_non_network_errors_are_not_swallowed requires.
  • No docs repeat the old message, so nothing in the docs drifted.

@kovtcharov

kovtcharov commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor Author

The DuckDuckGo 5xx follow-up is up as #8315. The client raises SearchStatusError (still a RuntimeError, with .status), and the CLI prints it as one line.

@kovtcharov-amd
kovtcharov-amd added this pull request to the merge queue Nov 16, 2026
Merged via the queue into amd:main with commit 3e8d277 Nov 16, 2026
59 of 85 checks passed
@kovtcharov-amd
kovtcharov-amd deleted the fix/knowledge-search-network-error branch November 16, 2026 02:38
kovtcharov added a commit to kovtcharov/gaia that referenced this pull request Nov 16, 2026
amd#8315)

With no Tavily key set (the default), `gaia knowledge search` uses
DuckDuckGo. When DuckDuckGo answered with a server error (500, 502 or
504), the command crashed with a Python traceback. Now it prints one
line saying DuckDuckGo answered with that status, with a next step: try
again later for a server error, check the query for a refused request.
It exits with code 1. The review of amd#8311 flagged this as a follow-up.

The agent's own web-search tool is unaffected: the new error is still a
`RuntimeError`, which it already handled.

## Test plan
- [x] `test_a_duckduckgo_error_status_is_one_line_not_a_traceback` (502
and 404): exit 1, one line naming the status and the next step, no
traceback. Both fail without the change.
- [x] `test_an_error_status_carries_its_code_and_a_next_step` (500, 502,
404) on the web client. The existing tests that pin a `RuntimeError`
naming the status still pass.
- [x] Knowledge CLI, browser tools, web-search rate-limit and Tavily
wrapper suites: 194 passed.
@kovtcharov-amd kovtcharov-amd mentioned this pull request Nov 17, 2026
kovtcharov-amd added a commit to tylerbea/gaia that referenced this pull request Nov 17, 2026
# GAIA v0.26.0 Release Notes

## Summary

- A new chat answers sooner, and follow-up turns stay cached.
- GAIA reads and sends Gmail, manages Google and Outlook calendars,
analyzes long recordings and video links, and answers Discord messages.
- A model server that is down or restarting is reported in one plain
sentence, and open chats keep working after a restart.
- Chats no longer leave MCP server processes behind, and credential
files stay closed to scripts.
- The terminal UI is now `gaia-cli`; see Breaking Changes.
- 23 contributors merged 812 PRs and closed 726 issues since v0.25.4.

## Breaking Changes

- **The terminal UI is now `gaia-cli`, and `gaia-cli` no longer means
the Python command** — its old name was `gaia-tui`. Updating installs
`gaia-cli`; the one-line installer keeps `gaia-tui` working, and the
Windows setup and macOS and Linux packages remove it. A script that ran
the Python CLI as `gaia-cli` should call `gaia`. (PRs
[amd#7492](amd#7492),
[amd#8367](amd#8367))
- **Dynamic tool loading is on by default, and its old settings are
gone** — `GAIA_DYNAMIC_TOOLS_TAU` and `GAIA_DYNAMIC_TOOLS_MAX` do
nothing, and a choice made under the old Beta toggle is not carried
over. Turn it off with `gaia config set dynamic_tools false`. (PR
[amd#6449](amd#6449))
- **The `use_chatgpt` and `use_openai` arguments are gone** — delete
them and pick the model through Lemonade. (Issue
[amd#7023](amd#7023))
- **The `gaia-agent-chat` package is gone** — import `ChatAgent` with
`from gaia_agent.chat_agent import ChatAgent, ChatAgentConfig`;
`ChatAgentLite` is removed, so use `gaia chat`. Old sessions still
reopen on GAIA. (Issue [amd#6103](amd#6103))

## What's New

- **Faster first replies** — chat starts on the most-used tools and
loads the rest once, and follow-up turns stay cached. (PRs
[amd#6449](amd#6449),
[amd#5039](amd#5039),
[amd#7150](amd#7150))
- **Gmail and calendar from the flagship** — draft, reply, forward and
send Gmail with approval, plus Google and Outlook calendar tools. (PRs
[amd#6479](amd#6479),
[amd#6485](amd#6485),
[amd#7164](amd#7164))
- **Analyze long recordings and video links** — a timestamped,
speaker-labelled transcript, report and subtitles, from the CLI or the
Agent UI. (PR [amd#6451](amd#6451))
- **Message GAIA from Discord** — DM your own bot, and set reminders,
alerts and triggers it runs on its own. (PRs
[amd#6786](amd#6786),
[amd#7144](amd#7144),
[amd#6887](amd#6887),
[amd#6886](amd#6886))
- **Hear replies read aloud** — a speaker button on every Agent UI
reply. (PR [amd#6489](amd#6489))
- **See what is happening** — a live CPU, memory, GPU, NPU and network
strip in every chat, cloud spend in the composer, and every log in the
Agent UI. (PRs [amd#6548](amd#6548),
[amd#6775](amd#6775),
[amd#6664](amd#6664))
- **Edit a sent message, try an answer again, continue a stopped one**,
and reopen past sessions in the TUI. (PRs
[amd#7459](amd#7459),
[amd#7465](amd#7465),
[amd#7165](amd#7165))
- **Skills** — add one by pasting a link, get suggestions for unloaded
skills, and use three new ones: report-from-sources, log-triage and
meeting-actions. (PRs [amd#5803](amd#5803),
[amd#5423](amd#5423),
[amd#5421](amd#5421))
- **Models** — a `hybrid` choice sends each turn to a cheaper or a
stronger model, and Muse Glimmer 30B is an opt-in local model. (PRs
[amd#8196](amd#8196),
[amd#7168](amd#7168))
- **Documents in more languages** — Arabic, Japanese, Chinese and
Cyrillic files read correctly, and a damaged UTF-8 file is refused
instead of garbled. (PRs [amd#8024](amd#8024),
[amd#8230](amd#8230),
[amd#8296](amd#8296))
- **Safer by default** — project guidance loads only after asking once
per folder, and Undo puts back files a script moved. (PRs
[amd#6965](amd#6965),
[amd#8128](amd#8128))

Upgrade with:

```bash
pip install --upgrade amd-gaia
```

## Bug Fixes

A reference list, most user-visible first. Every merged change is in the
changelog below.

### Model server and chats

- **Open chats keep working after the model server restarts** — GAIA
keeps its own server's key across a restart. (PRs
[amd#8366](amd#8366),
[amd#8162](amd#8162))
- **Deleting a chat stops its MCP servers, and never starts or restarts
the agent.** (PRs [amd#8364](amd#8364),
[amd#8380](amd#8380))
- **MCP server processes are no longer left behind on every new chat.**
(PR [amd#8298](amd#8298))
- **A failed MCP server no longer shows "Connected"**, and a missing
Node.js or uv is named instead of a transport error. (PRs
[amd#8273](amd#8273),
[amd#8365](amd#8365),
[amd#8163](amd#8163))
- **A document taken off a chat is no longer read** — its access is
revoked and searches skip it. (PRs
[amd#8375](amd#8375),
[amd#8025](amd#8025),
[amd#8160](amd#8160))
- **A model server that isn't answering gets one plain wording
everywhere**, appears without a reload, and is translated. (PRs
[amd#7576](amd#7576),
[amd#7789](amd#7789),
[amd#8259](amd#8259),
[amd#8235](amd#8235),
[amd#7833](amd#7833))
- **A document added at launch waits for GAIA's model server.** (PR
[amd#8304](amd#8304))
- **A failed turn names the cause and offers Settings, not a command**;
long errors are cut at a word. (PRs
[amd#7729](amd#7729),
[amd#8276](amd#8276))
- **An agent crash offers the agent's log**, not the model server's. (PR
[amd#8359](amd#8359))
- **A sidecar shuts down when its daemon is killed**, and the daemon
restarts if left on another model server. (PRs
[amd#8306](amd#8306),
[amd#8075](amd#8075))
- **An unreachable custom Lemonade URL is named**, not called "not
installed". (PRs [amd#8122](amd#8122),
[amd#8066](amd#8066))
- **A cloud turn that failed before any reply is not billed.** (PR
[amd#8321](amd#8321))
- **A model switch loads the model and carries the chat over.** (PR
[amd#7590](amd#7590))
- **The TUI says when GAIA stopped mid-answer.** (PR
[amd#8309](amd#8309))

### Safety and privacy

- **A hard link to a credential file is treated as that file** in shell
searches. (PR [amd#8330](amd#8330))
- **Credential folders are closed to scripts and linked files**,
recursive searches skip credential files, and credentials are masked in
file text and tool output. (PRs
[amd#8136](amd#8136),
[amd#8220](amd#8220),
[amd#8191](amd#8191),
[amd#8119](amd#8119))
- **The masked-secret write guard is re-checked after approval.** (PR
[amd#8260](amd#8260))
- **Links and Python file access stay inside allowed folders.** (PR
[amd#8204](amd#8204))
- **One folder grant covers writing, editing and renaming there.** (PR
[amd#7495](amd#7495))
- **A timed-out approval is not re-asked, and an unattended refusal is
not taken as the user's "no".** (PRs
[amd#8076](amd#8076),
[amd#8193](amd#8193),
[amd#8145](amd#8145))
- **Unattended refusals lead with the safe fallback.** (PR
[amd#8253](amd#8253))
- **Text handed over to translate is treated as text**, not as
instructions or a path to browse, so it no longer asks to run a command.
(PRs [amd#8233](amd#8233),
[amd#8266](amd#8266),
[amd#8168](amd#8168))
- **Look-alike Unicode letters are read as their plain forms** in checks
for planted instructions and fence markers. (PRs
[amd#8274](amd#8274),
[amd#8275](amd#8275),
[amd#8215](amd#8215),
[amd#6837](amd#6837))
- **Made-up command output is caught for more ways of asking.** (PR
[amd#8271](amd#8271))
- **A private chat changes nothing stored in memory.** (PRs
[amd#8069](amd#8069),
[amd#8174](amd#8174))
- **Sign-in codes stay out of logs.** (PR
[amd#8149](amd#8149))
- **A shell command that reaches a local address is called out.** (PR
[amd#8156](amd#8156))
- **Shell guardrails survive wrappers, multi-line commands and `gh issue
close`.** (PRs [amd#6964](amd#6964),
[amd#8065](amd#8065),
[amd#6877](amd#6877))

### Documents and files

- **Every document in a search gets its best passage.** (PR
[amd#8074](amd#8074))
- **Legacy-encoded Arabic, Japanese, Chinese and Cyrillic text files
read correctly**, short ones in this PC's code page. (PRs
[amd#8012](amd#8012),
[amd#8230](amd#8230),
[amd#8307](amd#8307))
- **Chinese, Japanese and Arabic text is searched, chunked and
summarized**, and Arabic PDF numbers read in order. (PRs
[amd#8024](amd#8024),
[amd#8053](amd#8053),
[amd#8070](amd#8070))
- **A damaged UTF-8 file is refused instead of garbled**, and Python
scripts write UTF-8. (PRs
[amd#8296](amd#8296),
[amd#8104](amd#8104))
- **A short file already read whole skips the extra extraction pass.**
(PR [amd#8241](amd#8241))
- **A saved web page is indexed as its text**, and PDFs with large
arrays read. (PRs [amd#8179](amd#8179),
[amd#8181](amd#8181))
- **After a one-file miss, every attached document is searched**, and a
document is re-searched before "not in it". (PRs
[amd#8153](amd#8153),
[amd#8106](amd#8106))
- **A document's text is treated as data when summarizing.** (PR
[amd#8132](amd#8132))
- **PDF table rows stay whole.** (PR
[amd#8116](amd#8116))
- **An edited document is re-indexed and no longer served stale.** (PRs
[amd#6906](amd#6906),
[amd#6947](amd#6947),
[amd#6917](amd#6917))
- **Parallel uploads no longer break each other's embedding.** (PR
[amd#8049](amd#8049))
- **Attachments are cited by their own name**, and previews stop showing
raw bytes. (PRs [amd#6896](amd#6896),
[amd#7753](amd#7753))
- **Undo puts back files a Python snippet moved or renamed.** (PR
[amd#8128](amd#8128))
- **A damaged .pptx is reported as damaged**, and a too-large file as
over the limit. (PRs [amd#7906](amd#7906),
[amd#7904](amd#7904))
- **Images left unread while the vision model was down are read later**,
and a broken vision model is named. (PRs
[amd#7133](amd#7133),
[amd#7154](amd#7154))

### Agent answers

- **Mail tools load for mail questions.** (PR
[amd#8222](amd#8222))
- **A skill suggestion is offered instead of an order to load.** (PR
[amd#8229](amd#8229))
- **Fewer wasted steps, stalls and empty answers in the agent loop.**
(PR [amd#8211](amd#8211))
- **Long plan-driven turns run to their step budget**, and the default
step limit is 1000. (PRs [amd#8110](amd#8110),
[amd#7325](amd#7325))
- **An answer that reports a failure gets no "not confirmed" note**, and
more ways of claiming a save are checked. (PRs
[amd#7735](amd#7735),
[amd#7539](amd#7539),
[amd#7579](amd#7579),
[amd#7540](amd#7540))
- **An answer that claims all files were read says how many were.** (PR
[amd#8109](amd#8109))
- **A turn stopped at a limit ends with the work done and a way on.**
(PRs [amd#8112](amd#8112),
[amd#6296](amd#6296))
- **A reply that turns into repeated noise is stopped**, and native
tool-call JSON stays out of the answer. (PRs
[amd#8173](amd#8173),
[amd#7248](amd#7248))
- **A thinking model's reasoning stays out of `gaia prompt` output**,
which prints the answer once. (PRs
[amd#8141](amd#8141),
[amd#8135](amd#8135),
[amd#7238](amd#7238))
- **Edits to a file owned by another process are stopped**, and an edit
sent twice is refused. (PRs
[amd#6434](amd#6434),
[amd#6844](amd#6844))
- **Relative outputs are found in the folder the request named.** (PR
[amd#8103](amd#8103))
- **Scratch folders no longer pile up in the temp folder.** (PR
[amd#8108](amd#8108))
- **Overflows from cloud and Claude models trigger trim-and-retry.** (PR
[amd#7758](amd#7758))
- **A memory GAIA is asked to keep is saved**, a forget goes through
after "never mind", and every copy of a forgotten memory goes. (PRs
[amd#7148](amd#7148),
[amd#6920](amd#6920),
[amd#6858](amd#6858))

### Goals, schedules and automations

- **A failing recurring schedule is recorded on the schedule itself.**
(PR [amd#8320](amd#8320))
- **A goal is marked stalled after 10 check-backs**, its retry count
resets when queued again, and one that can't be done stops retrying.
(PRs [amd#8223](amd#8223),
[amd#8198](amd#8198),
[amd#8081](amd#8081))
- **Deleting a schedule asks in a dialog**, and a deleted or paused
schedule closes its run's chat. (PRs
[amd#8237](amd#8237),
[amd#8157](amd#8157))
- **`gaia schedule run` uses the app's model and never downloads one.**
(PR [amd#8113](amd#8113))
- **A finished schedule notifies you**, and failures from while the app
was closed are announced. (PRs
[amd#7696](amd#7696),
[amd#7648](amd#7648))
- **`gaia schedule` says an unknown name is unknown**, and `add` prints
one line when it reuses a name. (PRs
[amd#7534](amd#7534),
[amd#8126](amd#8126))
- **Schedules whose name contains a slash can be managed.** (PR
[amd#6954](amd#6954))
- **Scheduled sends that fail are reported to the user.** (PR
[amd#6979](amd#6979))

### CLI

- **`gaia chat` and `-p` send every request to `--base-url`**, as do
talk indexing and API health. (PRs
[amd#8256](amd#8256),
[amd#7236](amd#7236))
- **`gaia download` and `gaia api start` fail when the server is
unreachable.** (PRs [amd#6872](amd#6872),
[amd#7237](amd#7237),
[amd#7346](amd#7346))
- **`gaia cache status` shows every cache folder and its size** and no
longer follows Windows junctions. (PRs
[amd#7132](amd#7132),
[amd#7239](amd#7239))
- **`gaia kill --lemonade` stops the Lemonade Server GAIA uses.** (PR
[amd#6991](amd#6991))
- **`gaia prompt --device` selects the matching model.** (PR
[amd#6894](amd#6894))
- **`gaia connectors connect` names the connectors it can use**, and
unhandled commands exit 1. (PRs
[amd#7535](amd#7535),
[amd#7051](amd#7051))
- **A search service error is one line, not a traceback.** (PRs
[amd#8310](amd#8310),
[amd#8311](amd#8311),
[amd#8315](amd#8315))
- **A relayed `gaia -p` reports steps, tool calls and tokens.** (PR
[amd#7234](amd#7234))

### Agent UI and TUI

- **A taken schedule name shows on the Name field**, and the New
schedule draft survives closing the dialog. (PRs
[amd#7675](amd#7675),
[amd#7798](amd#7798))
- **Chat search shows plain words and stays fast on huge messages.**
(PRs [amd#7772](amd#7772),
[amd#8206](amd#8206))
- **One size for a model and one free-space figure everywhere.** (PR
[amd#8231](amd#8231))
- **"Memory on" is a small menu**, and Remove on a document can be
undone. (PRs [amd#7498](amd#7498),
[amd#7512](amd#7512))
- **Setup offers this PC and a cloud model as two equal choices**, and
keeps the cloud model in use when run again. (PRs
[amd#7470](amd#7470),
[amd#7778](amd#7778))
- **One Connect card shows when several mail steps need an account.**
(PR [amd#8352](amd#8352))
- **The spend in the composer shows this chat and today to the same
decimals**, and leaves failed turns out. (PRs
[amd#8351](amd#8351),
[amd#7581](amd#7581))
- **A Mac update chip links to the release instead of installing.** (PR
[amd#7832](amd#7832))
- **The side panel, home and Settings get more room.** (PR
[amd#8277](amd#8277))
- **Arabic layout fixes** across answer tables, the file browser,
documents, setup and the network rate. (PRs
[amd#8238](amd#8238),
[amd#7898](amd#7898),
[amd#7666](amd#7666),
[amd#7821](amd#7821),
[amd#8372](amd#8372))
- **The TUI resolves bare file names in its start folder** and sends it
so the project map finds the project. (PRs
[amd#7246](amd#7246),
[amd#7766](amd#7766))
- **The TUI names GAIA's chat model in the status line on a shared
Lemonade.** (PR [amd#8224](amd#8224))
- **The robot head shows on notifications.** (PR
[amd#8341](amd#8341))

### Install, Linux and desktop

- **A running exe under either name no longer breaks the one-line
installer**, and the old name is refused when going back. (PR
[amd#8367](amd#8367))
- **A stock GNOME desktop keeps GAIA running without a tray extension.**
(PR [amd#6868](amd#6868))
- **The AppImage gets a launcher, and GAIA shows once in the app grid
and opens on Wayland.** (PRs
[amd#7078](amd#7078),
[amd#7149](amd#7149))
- **A missing system library or CA file is named** instead of dying
silently. (PRs [amd#7157](amd#7157),
[amd#7255](amd#7255))
- **An agent left running for days on macOS keeps answering.** (PR
[amd#6851](amd#6851))
- **A low-disk update no longer marks the install failed.** (PR
[amd#6916](amd#6916))
- **A crashed window offers a reload instead of quitting GAIA**, and a
clean renderer exit is not a crash. (PRs
[amd#7301](amd#7301),
[amd#7155](amd#7155))
- **Each process stops reserving 5 GB of OpenBLAS threads.** (PR
[amd#7324](amd#7324))
- **A second launch skips the install screen** for a new user. (PR
[amd#7994](amd#7994))
- **The macOS menu bar draws the GAIA logo.** (PR
[amd#6989](amd#6989))
- **Docs** for another computer's Lemonade, setup steps, memory
categories, privacy claims and eval examples. (PRs
[amd#6865](amd#6865),
[amd#6852](amd#6852),
[amd#6864](amd#6864),
[amd#7544](amd#7544),
[amd#6863](amd#6863))

### Email, connectors and tools

- **Outlook search queries Graph rejects are no longer taught.** (PR
[amd#8123](amd#8123))
- **Connectors Test starts an MCP server and says if it started.** (PR
[amd#6883](amd#6883))
- **Slack setup is one click**, and Slack and gateway auth say they need
a terminal. (PRs [amd#6855](amd#6855),
[amd#7537](amd#7537))
- **A cancelled sign-in is called cancelled, with an offer to retry.**
(PR [amd#7840](amd#7840))
- **`search_web` keeps working through a long research turn**, and
redirect rate waits no longer time out a fetch. (PRs
[amd#7859](amd#7859),
[amd#6857](amd#6857))
- **Invented figures are caught** when written like `2,708.95 USD`, and
averages worked by hand after a failed run are checked. (PRs
[amd#6817](amd#6817),
[amd#6831](amd#6831))

## Known Issues

- **NPU PCs: chat on the NPU profile returns an empty reply**, and the
embedder falls back to GGUF — 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** until the model server restarts — restart it
from time to time. An upstream Lemonade issue, tracked in
[amd#8312](amd#8312).
- **Coding: editing a requested config or data file, or a skill's
`SKILL.md`, 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"** and suggests `gaia init` — 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).
- **Attached files lose the spaces in their names**, so `team meeting
notes.wav` becomes `team_meeting_notes.wav` — rename the file before
attaching if the name matters. Tracked in
[amd#8361](amd#8361).

## Contributors

Thanks to the community members who contributed to this release:

- [@tylerbea](https://github.com/tylerbea) — Gmail and calendar tools,
interactive cards, image thumbnails, Slack setup, and over a hundred
Agent UI fixes including Arabic translation and layout (PRs
[amd#6479](amd#6479),
[amd#6485](amd#6485),
[amd#6086](amd#6086),
[amd#7697](amd#7697),
[amd#6855](amd#6855),
[amd#6851](amd#6851))
- [@huong8373tt-beep](https://github.com/huong8373tt-beep) — per-agent
tool scopes, word-stem skill search, TUI media outputs, agent safety
checks, email, memory and RAG fixes (PRs
[amd#6558](amd#6558),
[amd#6523](amd#6523),
[amd#6254](amd#6254),
[amd#6821](amd#6821),
[amd#6964](amd#6964),
[amd#6985](amd#6985))
- [@ityashag](https://github.com/ityashag) — goal stalling,
failing-schedule records, document search and vision-indexing fixes, CLI
cache and kill fixes, and docs (PRs
[amd#8223](amd#8223),
[amd#8320](amd#8320),
[amd#7131](amd#7131),
[amd#7133](amd#7133),
[amd#7132](amd#7132),
[amd#6991](amd#6991))
- [@bniladridas](https://github.com/bniladridas) — NPU model checks in
the TUI, unattended refusals, mail tool loading, setup-problem wording,
and goal retry counts (PRs
[amd#7122](amd#7122),
[amd#8253](amd#8253),
[amd#8222](amd#8222),
[amd#8210](amd#8210),
[amd#8198](amd#8198),
[amd#6875](amd#6875))
- [@rezamuliawijaya](https://github.com/rezamuliawijaya) — eval corpus
checks, `gaia download` and `gaia prompt --device` fixes, document
re-index and forget fixes (PRs
[amd#6869](amd#6869),
[amd#6872](amd#6872),
[amd#6894](amd#6894),
[amd#6917](amd#6917),
[amd#6920](amd#6920))
- [@lakshyab20](https://github.com/lakshyab20) — CLI errors that print a
message instead of a traceback (PRs
[amd#7534](amd#7534),
[amd#7535](amd#7535),
[#7536](https://github.com/amd/gaia/pull/7536),
[amd#7537](amd#7537))
- [@KrBeTect2025](https://github.com/KrBeTect2025) — `--base-url` for
`gaia chat`, quiet `gaia prompt` output, and `gaia schedule add` on a
reused name (PRs [amd#8256](amd#8256),
[amd#8141](amd#8141),
[amd#8126](amd#8126),
[#8257](https://github.com/amd/gaia/pull/8257))
- [@Drchennnn](https://github.com/Drchennnn) — voice startup indexing,
live-catalog model status, and release tests (PRs
[#6638](https://github.com/amd/gaia/pull/6638),
[#7123](https://github.com/amd/gaia/pull/7123),
[#7152](https://github.com/amd/gaia/pull/7152))
- [@akshat-lakhera](https://github.com/akshat-lakhera) — the
once-per-folder project guidance prompt (PRs
[amd#6965](amd#6965),
[#6987](https://github.com/amd/gaia/pull/6987))
- [@iam-hk](https://github.com/iam-hk) — skill suggestions, the
masked-secret write guard, and accented-letter reading (PRs
[amd#8229](amd#8229),
[amd#8260](amd#8260),
[amd#8274](amd#8274))
- [@wasiulhaque](https://github.com/wasiulhaque) — email docs and API
contract checks (PRs [#6879](https://github.com/amd/gaia/pull/6879),
[#6910](https://github.com/amd/gaia/pull/6910),
[#6913](https://github.com/amd/gaia/pull/6913))
- [@tharunsridhar](https://github.com/tharunsridhar) — refusing to index
an unreadable document, and docs (PRs
[#6978](https://github.com/amd/gaia/pull/6978),
[#6933](https://github.com/amd/gaia/pull/6933),
[#7001](https://github.com/amd/gaia/pull/7001))
- [@swastiktawate](https://github.com/swastiktawate) — CI references,
file-io tests and email doc links (PRs
[#6922](https://github.com/amd/gaia/pull/6922),
[#6960](https://github.com/amd/gaia/pull/6960),
[#6961](https://github.com/amd/gaia/pull/6961))
- [@burgulvedant](https://github.com/burgulvedant) — a cloud model that
needs reconnecting, and guide fixes (PRs
[#8209](https://github.com/amd/gaia/pull/8209),
[#6900](https://github.com/amd/gaia/pull/6900),
[#6931](https://github.com/amd/gaia/pull/6931))
- [@DevShoaib78](https://github.com/DevShoaib78) — hub agent docs (PRs
[#6940](https://github.com/amd/gaia/pull/6940),
[#6941](https://github.com/amd/gaia/pull/6941))
- [@saruk-vedant](https://github.com/saruk-vedant) — refusing a router
model as the Custom model ID (PR
[#7548](https://github.com/amd/gaia/pull/7548))
- [@txltedxgod](https://github.com/txltedxgod) — tools used on unprinted
turns (PR [#7265](https://github.com/amd/gaia/pull/7265))
- [@recentbontipiece](https://github.com/recentbontipiece) — the macOS
menu bar logo (PR [amd#6989](amd#6989))
- [@kratos0718](https://github.com/kratos0718) — privacy wording (PR
[amd#7544](amd#7544))
- [@georgekhananaev](https://github.com/georgekhananaev) — the
`--save-baseline` warning (PR
[#6981](https://github.com/amd/gaia/pull/6981))
- [@SanketJadhav7d3](https://github.com/SanketJadhav7d3) — privacy
wording for cloud sessions (PR
[#6888](https://github.com/amd/gaia/pull/6888))
- [@cf3901646](https://github.com/cf3901646) — a midnight-UTC test fix
(PR [#7114](https://github.com/amd/gaia/pull/7114))

## Full Changelog

**812 commits** since v0.25.4. The PR links above are the changelog.

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

Labels

cli CLI changes ready_for_ci Run CI workflows on draft PR without requesting review tests Test changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants