Skip to content

fix(tools): allow WebFetch and WebSearch in plan mode - #1884

Merged
edenreich merged 2 commits into
mainfrom
fix/issue-1880
Nov 17, 2026
Merged

edenreich merged 2 commits into
mainfrom
fix/issue-1880

Conversation

@inference-gateway-maintainer

@inference-gateway-maintainer inference-gateway-maintainer Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Resolves #1880

Summary

Plan mode now allows WebFetch and WebSearch so the agent can research online while it plans. Both web tools keep their usual domain allow-list and approval settings. WebFetch downloads (and binary responses) land in the plan-mode scratchpad instead of the session artifacts dir, so plan mode still writes nowhere outside it. The plan-mode guidance, mode-guard and approval-policy tests, golden file and docs were updated to match.

Changes

  • Added plan to modes in internal/tools/WebFetch.yaml and internal/tools/WebSearch.yaml, same convention as AskUserQuestion from [FEATURE] Make AskUserQuestion available on all modes #1184
  • WebFetch saveToFile now redirects downloads and binary saves into the plan-mode scratchpad (config.ProjectScratchpadDir) when the call runs in plan mode, covering the download=true and binary-response write path the issue called out
  • Updated defaultModeChangeGuidance plan in config/reminders.go to list WebFetch and WebSearch as fully executable and to drop the web tools from the disabled group, mentioning the scratchpad redirect
  • Replaced the "plan rejects the web tools" case in TestExecuteTool_ModeGuard with plan-allowed WebFetch/WebSearch cases and added TestFetchTool_Execute_PlanModeSavesIntoScratchpad
  • Updated the plan-mode cases in TestApprovalPolicies_ShouldRequireApproval (internal/agent/loop/approval_policy_test.go): the admitted web tools now assert they follow their approval setting in plan mode, and the exec-rejected pin (a tool the mode rejects skips approval) moved to BashOutput/ListShells, which stay plan-rejected
  • Regenerated internal/agent/loop/testdata/tool_definitions.golden.json via TestToolDefinitionsGolden -update
  • Updated 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

Downstream impact: none beyond docs - this is CLI-internal tool manifests, no schemas, env vars or release bumps affected. Docs follow-up: inference-gateway/docs#1247.

Add plan to both web tools' manifest modes and save WebFetch downloads and binary responses into the plan-mode scratchpad instead of the session artifacts dir. Update the plan guidance and the mode-guard test, add a scratchpad-save regression test, regenerate the tool-definitions golden file, and update the plan-mode docs.
@edenreich

Copy link
Copy Markdown
Contributor

@infer can you check why tests are failing and fix this? use /go /go-concurrency

@inference-gateway-maintainer

inference-gateway-maintainer Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor Author

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

Todos

  • Reproduce the failing test locally and identify the failure cause
  • Fix approval_policy_test.go: web tools follow their approval setting in plan, exec-rejected pin moves to BashOutput/ListShells
  • Commit + push the fix and confirm the CI run goes green

Pull Request

#1884

✅ Infer Result: Success

Done - tests are green again. Here's the full picture.

Why the test job failed

TestApprovalPolicies_ShouldRequireApproval in internal/agent/loop/approval_policy_test.go, subtest plan mode skips approval for exec-rejected tools: WebSearch:

ShouldRequireApproval(WebSearch, {}, chat=true) = true, want false

That case pinned main-era behavior: before this PR, WebSearch's manifest had no plan mode, so the approval policy short-circuited at manifest.AvailableIn(plan) and skipped approval (a call the mode rejects at execution needs no approval prompt - that is the "exec-rejected" rationale). The PR added plan to WebFetch.yaml/WebSearch.yaml, so the call now passes the availability gate and falls through to the tool's approval setting. The test's createTestConfig only sets the global Safety.RequireApproval: true with no per-tool override, so the manifest inherits the global and the policy correctly returns true.

This was deterministic, not a race or flake - it reproduced identically locally (go test ./internal/agent/loop -run TestApprovalPolicies_ShouldRequireApproval) and I verified there is no concurrency surface here, so nothing actionable from -race.

The fix (commit be0fcb30, test-only)

  • Moved WebFetch/WebSearch into a new plan-mode case, plan mode approves the admitted web tools too (want true), symmetric with the sibling "plan mode approves the executable mutating and bash tools" case and consistent with the regenerated golden (configured WebFetch bypasses approval via its DefaultConfig.RequireApproval=false override, WebSearch requires it; in no_tool_overrides both inherit the global). This matches the PR's intent that the web tools "keep their usual approval settings" once admitted.
  • Repointed the plan mode skips approval for exec-rejected tools pin to BashOutput and ListShells: their manifests carry no modes section, so they use defaultToolModes (standard, auto, auto-with-judge) and stay genuinely rejected in plan mode. They are the same "system tools" family the plan guidance lists as disabled, and the short-circuit behavior stays covered at unit level.

Validation

  • go test ./internal/agent/loop passes locally, including the golden test.
  • task precommit:run (mod tidy, mocks, fmt, golangci-lint, markdownlint) clean; pre-commit hook re-ran it at commit time - 0 issues.
  • CI on the fix commit be0fcb30 is fully green: test passes (8m13s, with -race), plus e2e (10m0s), lint, vet, builds on macos/ubuntu/windows, postgres, CodeQL and the Analyze jobs.
  • PR body updated to list the extra touched file and the case change.

Skipped: no production code change (approval_policy.go was already correct) and no separate full local go test -race ./... run - CI reran the whole matrix green. Risk: none beyond the PR; the change is test-only and the intended behavior is unchanged.

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

Tokens: 2,562,125 in · 28,274 out · 2,590,399 total (33 requests)

Tool calls: 52 total · 100% success rate

Traces
Session: 1794869826-4d3280da

session (headless, success)                                                                        20m2s
├── 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_6o9fp8ap                                                               236µs
├── execute_tool Skill call_l1n963ew                                                               297µs
├── 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 TodoWrite call_y8l1wuqv                                                           101µs
├── execute_tool Memory call_26aznjv7                                                              173µ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 Bash call_ky9jcrjh                                                                  6ms
├── execute_tool Bash call_9krjx5jx                                                                949ms [error: tool_error]
├── 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_yt1jb6th                                                                 3.5s
├── chat ollama_cloud/glm-5.3-flash                                                                 2.8s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.8s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.8s
│           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        2.8s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.8s
├── execute_tool Grep call_tllai95h                                                                 28ms
├── execute_tool Grep call_n4t9ngs0                                                                 29ms
├── chat ollama_cloud/glm-5.3-flash                                                                 1.2s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                      948ms
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    945ms
│           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                       945ms
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                945ms
├── execute_tool Read call_exr5xh8h                                                                501µs
├── execute_tool Read call_oljnvaol                                                                500µs
├── chat ollama_cloud/glm-5.3-flash                                                                15.1s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                      15.1s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    15.1s
│           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                       15.1s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                15.1s
├── execute_tool Grep call_2knwq13c                                                                  4ms
├── execute_tool Read call_7r6w3liz                                                                774µs
├── execute_tool Read call_k3plbprr                                                                785µs
├── 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 Read call_9y2de07l                                                                460µs
├── execute_tool Read call_ijmxmte4                                                                533µs
├── chat ollama_cloud/glm-5.3-flash                                                                17.1s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                      17.1s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    17.1s
│           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                       17.1s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                17.1s
├── execute_tool Read call_2lv73bko                                                                436µs
├── execute_tool Read call_57nedsp4                                                                486µs
├── chat ollama_cloud/glm-5.3-flash                                                                24.5s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                      24.4s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    24.4s
│           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                       24.4s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                24.4s
├── execute_tool Bash call_ci4xhjdk                                                                 1m1s [error: tool_error]
├── execute_tool Grep call_xesyu68f                                                                  1ms
├── execute_tool Grep call_1gesqeah                                                                  1ms
├── 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_x0tgz0kc                                                                 25ms
├── execute_tool Grep call_3txidmx4                                                                  1ms
├── execute_tool Grep call_1sw0es8r                                                                  1ms
├── chat ollama_cloud/glm-5.3-flash                                                                 1.9s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.9s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.9s
│           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        1.9s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.9s
├── execute_tool Read call_aorzytjz                                                                480µs
├── execute_tool Read call_xrlhsrtf                                                                539µs
├── 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.1s
│           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        3.1s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.1s
├── execute_tool Grep call_krinbmmd                                                                 17ms
├── execute_tool Grep call_i7as774n                                                                 26ms
├── 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_bxft7y0d                                                                444µs
├── execute_tool Read call_8bk77gbn                                                                444µs
├── chat ollama_cloud/glm-5.3-flash                                                                11.8s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                      11.8s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    11.8s
│           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                       11.8s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                11.8s
├── execute_tool Grep call_neueq2nh                                                                  1ms
├── chat ollama_cloud/glm-5.3-flash                                                                 9.7s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                       9.7s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     9.7s
│           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        9.7s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 9.7s
├── execute_tool TodoWrite call_p1ir4q6q                                                            86µs
├── execute_tool Edit call_9m9nrfj8                                                                  1ms
├── chat ollama_cloud/glm-5.3-flash                                                                 1.7s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.7s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.7s
│           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        1.7s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.7s
├── execute_tool Bash call_8o4a8v3l                                                                 4.7s
├── 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_110j1127                                                                  1ms
├── 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 Wait call_pg0hjrae                                                                1m28s
├── chat ollama_cloud/glm-5.3-flash                                                                 6.5s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                       6.4s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     6.4s
│           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        6.4s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 6.4s
├── execute_tool Bash call_7lgrwn39                                                                  9ms
├── 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_4f2pm6ys                                                                  7ms
├── 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_qaku0d9n                                                                 5.7s
├── 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_y6tygkrm                                                                  9ms
├── chat ollama_cloud/glm-5.3-flash                                                                 1.1s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.0s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.0s
│           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        1.0s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.0s
├── execute_tool Bash call_6c5rz84i                                                                 1.6s
├── chat ollama_cloud/glm-5.3-flash                                                                 6.1s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                       6.1s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     6.1s
│           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        6.1s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 6.1s
├── execute_tool Bash call_lyd1p5vd                                                                292ms
├── chat ollama_cloud/glm-5.3-flash                                                                 8.3s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                       8.3s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     8.3s
│           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        8.3s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 8.3s
├── execute_tool Write call_q46bt4l7                                                                 1ms
├── 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 Bash call_hsi5gg74                                                                 2.1s
├── chat ollama_cloud/glm-5.3-flash                                                                 2.8s
│   ╰── 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_lg092k3m                                                                772ms [error: tool_error]
├── chat ollama_cloud/glm-5.3-flash                                                                 3.7s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                       3.6s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     3.6s
│           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        3.6s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.6s
├── execute_tool TodoWrite call_fmmr8d12                                                            73µs
├── execute_tool Wait call_q03tv8tb                                                                10m0s [error: tool_error]
├── chat ollama_cloud/glm-5.3-flash                                                                 3.9s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                       3.9s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     3.9s
│           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        3.9s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.9s
├── execute_tool Bash call_8gwmdqb1                                                                763ms [error: tool_error]
├── 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 Wait call_caay10mm                                                                4m21s
├── chat ollama_cloud/glm-5.3-flash                                                                 9.6s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                       9.6s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     9.6s
│           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        9.6s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 9.6s
├── execute_tool TodoWrite call_k4ba01h6                                                            74µs
├── execute_tool Memory call_71d8o75x                                                               1.4s
├── execute_tool Bash call_i12nmxdd                                                                  8ms
╰── chat ollama_cloud/glm-5.3-flash                                                                 7.7s
    ╰── POST /v1/chat/completions [inference-gateway, server]                                       7.7s
        ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     7.7s
            ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        7.7s
                ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 7.7s
Stats
Tool Calls

╭───────────┬───────┬───────┬──────────╮
│ Tool      │ Calls │ Fail% │ Avg      │
├───────────┼───────┼───────┼──────────┤
│ Bash      │ 16    │ 25%   │ 5076ms   │
│ Read      │ 12    │ 0%    │ 517µs    │
│ Grep      │ 11    │ 0%    │ 13ms     │
│ TodoWrite │ 4     │ 0%    │ 62µs     │
│ Wait      │ 3     │ 33%   │ 316099ms │
│ Skill     │ 2     │ 0%    │ 261µs    │
│ Memory    │ 2     │ 0%    │ 699ms    │
│ Edit      │ 1     │ 0%    │ 2ms      │
│ Write     │ 1     │ 0%    │ 1ms      │
╰───────────┴───────┴───────┴──────────╯

Token Usage

╭────────────────────────────┬─────────┬─────────┬────────────┬─────────┬──────╮
│ Model                      │ Prompt  │ Cached  │ Completion │ Total   │ Cost │
├────────────────────────────┼─────────┼─────────┼────────────┼─────────┼──────┤
│ ollama_cloud/glm-5.3-flash │ 2562125 │ 2074240 │ 28274      │ 2590399 │ -    │
╰────────────────────────────┴─────────┴─────────┴────────────┴─────────┴──────╯

Sessions

╭───────────┬──────────┬──────────╮
│ Execution │ Mode     │ Sessions │
├───────────┼──────────┼──────────┤
│ headless  │ headless │ 1        │
╰───────────┴──────────┴──────────╯

Triggered by edenreich · Infer Action · OSS

@edenreich
edenreich merged commit d500109 into main Nov 17, 2026
1 check passed
@edenreich
edenreich deleted the fix/issue-1880 branch November 17, 2026 07:09
@edenreich edenreich moved this from QA to Done in 2026 Nov 17, 2026
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.263.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@inference-gateway-releaser inference-gateway-releaser Bot added the released Shipped in a release label Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Shipped in a release

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[BUG] WebFetch is disabled in Plan mode

1 participant