Skip to content

[BUG] WebFetch is disabled in Plan mode #1880

Closed

Description

@edenreich

Summary

Screenshot 2026-11-16 at 22 48 49

In Plan Mode, the agent cannot use WebFetch (or WebSearch) to research online while it plans. Any call fails with tool not allowed: WebFetch is disabled in plan mode - use one of ... instead; do not retry this tool until the plan is approved. The agent should be able to research online during planning.

Root cause, verified in the code (not reproduced at runtime):

  • internal/tools/WebFetch.yaml and internal/tools/WebSearch.yaml list modes: [standard, auto, auto-with-judge, readonly] and leave out plan.
  • ToolManifest.AvailableIn (internal/agent/domain/tool_manifest.go) checks that list, and Service.ExecuteTool (internal/tools/service.go) rejects the call with toolUnavailableError.
  • The plan-mode reminder in config/reminders.go (defaultModeChangeGuidance["plan"]) tells the model that "the web, media and system tools ... are DISABLED in plan mode", so the model is also told not to try.
  • This is inconsistent: read-only subagents, which Plan Mode can spawn through Agent, already get WebFetch and WebSearch because their manifests include readonly. So the parent agent can reach the web only through a subagent.
  • internal/tools/service_test.go (TestExecuteTool_ModeGuard) pins the current behavior with the case "plan rejects the web tools".

Things the fix needs to handle:

  • WebFetch with download=true, or a binary response, writes the content to SessionArtifactsDir (saveToFile in internal/tools/web_fetch.go). That directory is outside the plan-mode scratchpad. The fix has to decide whether plan mode allows that write, sends it to the scratchpad, or rejects downloads.

Steps to Reproduce

  1. Start infer chat and press Shift+Tab until the status line shows Plan Mode.
  2. Ask the agent to plan something that needs online research, for example "look up the latest release notes for X and plan the upgrade".
  3. The agent calls WebFetch (or WebSearch).

Expected Behavior

WebFetch and WebSearch run in Plan Mode, so the agent can research online while it plans. They keep their usual domain allow-list and approval settings.

Acceptance criteria:

  • Add plan to modes in internal/tools/WebFetch.yaml and internal/tools/WebSearch.yaml.
  • Plan mode does not write fetched content outside the scratchpad. Pick one: save download=true/binary results to the scratchpad, reject downloads with a clear error, or explicitly allow the session artifacts dir.
  • Update the plan guidance in config/reminders.go to list WebFetch/WebSearch as executable.
  • Update TestExecuteTool_ModeGuard in internal/tools/service_test.go, and regenerate internal/agent/loop/testdata/tool_definitions.golden.json if the plan-mode tool set changes (TestToolDefinitionsGolden with -update).
  • Update the tool list in docs/plan-mode.md (intro and "What the model is told to do") and the plan-mode note in docs/tools-reference.md.

Actual Behavior

The call fails with tool not allowed: WebFetch is disabled in plan mode .... The plan-mode reminder also tells the model the web tools are disabled, so the agent cannot research online for planning.

Related: #1184 (made AskUserQuestion available in every mode, a similar manifest modes change), #1367 (moved tool definitions into the manifests where modes now lives).

Activity

  1. added theissue type on Nov 16, 2026
  2. added
    bug
    on Nov 16, 2026
  3. edenreich commented on Nov 16, 2026

    @edenreich
    ContributorAuthor

    @infer can you fix this? use /ponytail:ponytail

  4. inference-gateway-maintainer commented on Nov 16, 2026

    @inference-gateway-maintainer
    Contributor

    Model: ollama_cloud/glm-5.3-flash · Action: v0.59.9 · CLI: v0.262.0 · Gateway: v0.67.1 · View Job

    Todos

    • Add issue to Roadmap board, set In progress
    • Create fix/issue-1880 branch
    • Read manifests, service, saveToFile, reminders, tests, docs
    • Add plan to WebFetch/WebSearch manifests
    • Handle download writes in plan mode (scratchpad redirect)
    • Update plan guidance in config/reminders.go
    • Update TestExecuteTool_ModeGuard + golden file
    • Update docs/plan-mode.md and docs/tools-reference.md
    • Run checks, commit, push, draft PR, set board QA

    Pull Request

    #1884

    ✅ Infer Result: Success

    Golden file confirms it end to end: "plan" mode now offers WebFetch and WebSearch (lines 1886-1887). All nine todos are done, the tree is clean, and everything is pushed.

    Fix shipped - #1884 (ready for review)

    Root cause (as verified in the issue): internal/tools/WebFetch.yaml and WebSearch.yaml omitted plan from modes, so Service.ExecuteTool rejected web calls in plan mode and the plan-mode reminder told the model they were disabled.

    What changed:

    • Added plan to modes in internal/tools/WebFetch.yaml and internal/tools/WebSearch.yaml, same order convention as AskUserQuestion.yaml (the [FEATURE] Make AskUserQuestion available on all modes #1184 precedent)
    • Picked the issue's first scratchpad option: saveToFile in internal/tools/web_fetch.go now redirects download=true writes (and unavoidable binary-response saves) into the plan-mode scratchpad (config.ProjectScratchpadDir()) instead of the session artifacts dir - plan mode still writes nowhere outside it, MkdirAll creates the scratchpad, and other modes are unchanged
    • config/reminders.go plan guidance: WebFetch/WebSearch moved into the fully-executable TOOL SET list, dropped from the disabled group, with the scratchpad redirect noted
    • TestExecuteTool_ModeGuard replaced "plan rejects the web tools" with plan-allowed WebFetch/WebSearch cases; added TestFetchTool_Execute_PlanModeSavesIntoScratchpad covering the download path; regenerated tool_definitions.golden.json via TestToolDefinitionsGolden -update (plan-mode tool list now carries both tools)
    • Docs: intro + "What the model is told to do" in docs/plan-mode.md, and the plan-mode note in docs/tools-reference.md

    Verification: the repo's pre-commit gate passed in full (mod:tidy, fmt, lint:imports, golangci-lint 0 issues, markdownlint) plus the focused suites (TestToolDefinitionsGolden, TestExecuteTool_ModeGuard, the new scratchpad test, config, cmd/runtime). Three pre-existing binary-save tests fail in this CI runner only - I reproduced them failing identically with my diff stashed: this runner's sandbox denies writes under ~/.infer, which those tests' artifacts dir needs. The new test is hermetic via t.Setenv("HOME", t.TempDir()) (same pattern as the loop tests).

    Bookkeeping: issue added to Roadmap 2026 board and set to QA; [DOCS] follow-up filed per the org template - inference-gateway/docs#1247. No downstream schema/env/release impact (CLI-internal manifests), so no other follow-ups.

    Skipped reproducing the original failure at runtime (the issue verified it in code, and the manifest check is the mechanism) and running real online fetches in plan mode. One risk: plan-mode downloads now land in the scratchpad, so /reset wipes them alongside other runtime dirs - the docs note this behavior.

    Model: ollama_cloud/glm-5.3-flash · Action: v0.59.9 · CLI: v0.262.0 · Gateway: v0.67.1 · Exit Code: 0 · Duration: 6m 11s

    Tokens: 5,810,302 in · 30,821 out · 5,841,123 total (51 requests)

    Tool calls: 87 total · 100% success rate

    Traces
    Session: 1794868484-b87ceea0
    
    session (headless, success)                                                                         6m4s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.4s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.4s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.4s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        1.4s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.4s
    ├── execute_tool Skill call_3fwjgrbm                                                                75µs
    ├── execute_tool Bash call_fg60b0e6                                                                355ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.7s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.7s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.7s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        2.7s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.7s
    ├── execute_tool TodoWrite call_olqlqwmc                                                            49µs
    ├── execute_tool Bash call_1vt3edvq                                                                 1.5s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.6s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.6s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.6s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        1.6s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.6s
    ├── execute_tool Bash call_27g5xg65                                                                932ms
    ├── execute_tool Bash call_jiwisixq                                                                  8ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.7s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.6s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.6s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        1.6s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.6s
    ├── execute_tool Read call_ntz528g7                                                                523µs
    ├── execute_tool Read call_dzk13zc6                                                                539µs
    ├── execute_tool Read call_fsqdlebc                                                                542µs
    ├── execute_tool Read call_80ltyf5v                                                                591µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 3.0s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       3.0s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     3.0s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        3.0s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.0s
    ├── execute_tool TodoWrite call_t6xmt943                                                            69µs
    ├── execute_tool Grep call_ocq93rti                                                                 1.1s
    ├── execute_tool Read call_dunmnpyg                                                                547µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.5s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.5s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.5s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        1.5s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.5s
    ├── execute_tool Grep call_4stlj0pb                                                                  2ms
    ├── execute_tool Read call_772n1gxg                                                                471µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 5.6s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       5.6s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     5.6s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        5.6s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 5.6s
    ├── execute_tool Read call_1vroksua                                                                745µs
    ├── execute_tool Read call_tcyumguw                                                                961µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 4.4s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       4.4s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     4.4s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        4.4s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 4.4s
    ├── execute_tool Grep call_as9z9qnp                                                                 1.1s
    ├── execute_tool Grep call_hunisjbh                                                                 34ms
    ├── execute_tool Grep call_bybbjegr                                                                  1ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.4s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.4s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.4s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        1.4s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.4s
    ├── execute_tool Read call_829z1yg6                                                                577µs
    ├── execute_tool Read call_bvs8gvzv                                                                541µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 8.2s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       8.1s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     8.1s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        8.1s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 8.1s
    ├── execute_tool Grep call_fnh4vgw2                                                                823ms
    ├── execute_tool Read call_u11oqb3z                                                                444µs
    ├── execute_tool Read call_rngj2orv                                                                515µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.4s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.4s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.4s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        2.4s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.4s
    ├── execute_tool Grep call_qepny5jw                                                                  2ms
    ├── execute_tool Read call_110qr1s7                                                                461µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 9.2s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       9.2s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     9.2s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        9.2s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 9.2s
    ├── execute_tool Grep call_7qx81pf2                                                                  1ms
    ├── execute_tool Grep call_fa2tk3h1                                                                  1ms
    ├── execute_tool Read call_6lgxugm3                                                                511µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.4s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.4s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.4s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        1.4s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.4s
    ├── execute_tool Read call_dztgo5fs                                                                443µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 4.4s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       4.4s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     4.4s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        4.4s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 4.4s
    ├── execute_tool Bash call_d1grvy9g                                                                  6ms
    ├── execute_tool Grep call_5l1le0th                                                                 91ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.1s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.1s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.1s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        1.1s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.1s
    ├── execute_tool Read call_qipt0lbw                                                                424µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 8.8s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       8.8s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     8.8s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        8.8s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 8.8s
    ├── execute_tool Edit call_a35z2rg6                                                                861µs
    ├── execute_tool Edit call_wgr5he54                                                                823µs
    ├── execute_tool Edit call_gorcpp1x                                                                919µs
    ├── execute_tool Edit call_ufdtn23k                                                                952µs
    ├── execute_tool Edit call_86pf7gt9                                                                798µs
    ├── execute_tool Edit call_t66isf78                                                                896µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.5s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.5s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.5s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        1.5s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.5s
    ├── execute_tool Read call_zq747bti                                                                521µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 6.7s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       6.7s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     6.7s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        6.7s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 6.7s
    ├── execute_tool Edit call_enc1qtlw                                                                903µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 3.2s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       3.2s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     3.2s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        3.2s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.2s
    ├── execute_tool TodoWrite call_nhs39td1                                                            46µs
    ├── execute_tool Bash call_jm2lh2la                                                                57.2s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.6s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.6s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.5s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        1.5s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.5s
    ├── execute_tool Bash call_9d1y8ixk                                                                  7ms
    ├── execute_tool Bash call_z14u0yc1                                                                13.4s [error: tool_error]
    ├── chat ollama_cloud/glm-5.3-flash                                                                 6.2s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       6.2s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     6.2s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        6.2s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 6.2s
    ├── execute_tool Grep call_4ofvtzsd                                                                 40ms
    ├── execute_tool Grep call_32s8ywmv                                                                 31ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 5.5s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       5.5s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     5.5s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        5.5s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 5.5s
    ├── execute_tool Read call_yn2kdb7z                                                                405µs
    ├── execute_tool Read call_xpe6au3w                                                                438µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 4.8s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       4.8s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     4.8s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        4.8s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 4.8s
    ├── execute_tool Edit call_fyzai8q6                                                                  1ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.0s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.0s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.0s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        2.0s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.0s
    ├── execute_tool Bash call_0yxhs8jf                                                                 3.0s
    ├── execute_tool Bash call_m8j02lau                                                                 1.3s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 5.0s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       5.0s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     5.0s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        5.0s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 5.0s
    ├── execute_tool Memory call_8x5mslwi                                                               1.3s
    ├── execute_tool Bash call_g1uneo9d                                                                 25ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.1s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.1s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.1s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        1.1s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.1s
    ├── execute_tool Bash call_xwrzq0gd                                                                 4.2s [error: tool_error]
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.2s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.2s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.2s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        1.2s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.2s
    ├── execute_tool Bash call_jdl1ty8b                                                                 17ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.7s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.7s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.7s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        2.7s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.7s
    ├── execute_tool Grep call_xcbwo45l                                                                  2ms
    ├── execute_tool Read call_y6g3t4ja                                                                404µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 3.5s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       3.5s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     3.5s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        3.5s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.5s
    ├── execute_tool Read call_l8b68ude                                                                441µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 5.9s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       5.8s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     5.8s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        5.8s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 5.8s
    ├── execute_tool MultiEdit call_lp7tmtwh                                                           826µs
    ├── execute_tool Edit call_npozc2wn                                                                  1ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 9.1s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       9.1s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     9.1s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        9.1s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 9.1s
    ├── execute_tool TodoWrite call_jsx2ycun                                                            72µs
    ├── execute_tool Grep call_gd6bfjqw                                                                898ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 3.1s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       3.1s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     3.0s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        3.0s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.0s
    ├── execute_tool Bash call_tmqv2jla                                                                 11ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.2s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.2s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.2s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        1.2s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.2s
    ├── execute_tool Bash call_we7ukzvd                                                                 1.8s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.4s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.4s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.4s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        1.4s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.4s
    ├── execute_tool Bash call_cvy4v67h                                                                  1ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.3s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.2s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.2s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        1.2s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.2s
    ├── execute_tool Wait call_1u0v3ph8                                                                1m19s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.4s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.3s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.3s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        1.3s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.3s
    ├── execute_tool Bash call_fo2izmqi                                                                  8ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.7s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.7s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.7s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        2.7s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.7s
    ├── execute_tool Bash call_8y0hwvrv                                                                 4.9s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.6s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.6s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.6s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        2.6s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.6s
    ├── execute_tool Bash call_087m7fsd                                                                 1.5s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 5.3s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       5.3s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     5.3s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        5.3s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 5.3s
    ├── execute_tool Write call_8ijlszq9                                                               947µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.1s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.1s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.1s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        1.1s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.1s
    ├── execute_tool Bash call_vmpy28ur                                                                 2.0s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.1s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.1s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.1s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        2.1s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.1s
    ├── execute_tool Bash call_1fxdehre                                                                 1.5s
    ├── execute_tool Bash call_2kz3itva                                                                253ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 4.5s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       4.5s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     4.5s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        4.5s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 4.5s
    ├── execute_tool Write call_de19nubu                                                               958µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.4s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.4s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.4s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        1.4s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.4s
    ├── execute_tool Bash call_738tefwb                                                                 1.0s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 4.1s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       4.1s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     4.1s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        4.1s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 4.1s
    ├── execute_tool Edit call_2nqbmoq3                                                                698µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.8s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.8s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.8s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        1.8s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.8s
    ├── execute_tool Bash call_q2jwsqoy                                                                 1.8s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.4s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.4s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.4s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        1.4s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.4s
    ├── execute_tool Bash call_9trh9zwp                                                                  8ms
    ├── execute_tool Bash call_cfuy6bi1                                                                  7ms
    ├── execute_tool Bash call_316fc7zp                                                                925ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.2s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.1s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.1s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        2.1s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.1s
    ├── execute_tool Bash call_5nud9bve                                                                 1.1s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 3.7s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       3.7s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     3.7s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        3.7s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.7s
    ├── execute_tool Grep call_zktdiws6                                                                  1ms
    ├── execute_tool TodoWrite call_1ex3fku6                                                            33µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.1s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.1s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.0s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        2.0s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.0s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.6s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.6s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.5s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        1.5s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.5s
    ├── execute_tool Read call_pl1zsjyp                                                                505µs
    ╰── chat ollama_cloud/glm-5.3-flash                                                                 8.5s
        ╰── POST /v1/chat/completions [inference-gateway, server]                                       8.5s
            ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     8.5s
                ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        8.5s
                    ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 8.5s
    
    Stats
    Tool Calls
    
    ╭───────────┬───────┬───────┬─────────╮
    │ Tool      │ Calls │ Fail% │ Avg     │
    ├───────────┼───────┼───────┼─────────┤
    │ Bash      │ 28    │ 7%    │ 3530ms  │
    │ Read      │ 22    │ 0%    │ 516µs   │
    │ Grep      │ 15    │ 0%    │ 273ms   │
    │ Edit      │ 10    │ 0%    │ 945µs   │
    │ TodoWrite │ 5     │ 0%    │ 48µs    │
    │ Write     │ 2     │ 0%    │ 948µs   │
    │ Skill     │ 1     │ 0%    │ 84µs    │
    │ Memory    │ 1     │ 0%    │ 1308ms  │
    │ Wait      │ 1     │ 0%    │ 79000ms │
    │ MultiEdit │ 1     │ 0%    │ 798µs   │
    ╰───────────┴───────┴───────┴─────────╯
    
    Token Usage
    
    ╭────────────────────────────┬─────────┬─────────┬────────────┬─────────┬──────╮
    │ Model                      │ Prompt  │ Cached  │ Completion │ Total   │ Cost │
    ├────────────────────────────┼─────────┼─────────┼────────────┼─────────┼──────┤
    │ ollama_cloud/glm-5.3-flash │ 5810302 │ 5004160 │ 30821      │ 5841123 │ -    │
    ╰────────────────────────────┴─────────┴─────────┴────────────┴─────────┴──────╯
    
    Sessions
    
    ╭───────────┬──────────┬──────────╮
    │ Execution │ Mode     │ Sessions │
    ├───────────┼──────────┼──────────┤
    │ headless  │ headless │ 1        │
    ╰───────────┴──────────┴──────────╯
    

    Triggered by edenreich · Infer Action · OSS

  5. moved this from Todo to In progress in 2026on Nov 16, 2026
  6. moved this from In progress to QA in 2026on Nov 16, 2026
  7. moved this from QA to Done in 2026on Nov 17, 2026
  8. inference-gateway-releaser commented on Nov 17, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.263.0 🎉

    The release is available on:

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugreleased

    Type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions