Skip to content

fix(agent): ask before a path outside the sandbox in auto mode - #366

Merged
edenreich merged 2 commits into
mainfrom
fix/sandbox-approval-in-auto-mode
Oct 1, 2026
Merged

edenreich merged 2 commits into
mainfrom
fix/sandbox-approval-in-auto-mode

Conversation

@edenreich

Copy link
Copy Markdown
Contributor

Summary

In auto mode, a tool call on a path outside the sandbox failed with "outside configured sandbox directories" and the user was never asked. The desktop started auto-mode runs without --require-approval, so the CLI had no approval broker and treated nobody as able to answer. Now the user decides, in either mode.

Depends on inference-gateway/cli#1388 for symlinked paths. Plain outside paths already work with any CLI that has the sandbox approval flow.

Changes

  • apply_approval_mode passes --require-approval in both modes. Auto mode still sets INFER_SUBAGENT_AGENT_MODE=auto, and the CLI skips per-tool approval in auto mode before it consults the broker. So the flag only opens the sandbox prompt (plus the per-call approvers below).
  • The frontend's auto-mode approve-all skips SandboxAccess (autoApproves in lib/transcript.ts), so the existing Approve / Always allow / Deny card shows up.
  • Behaviour change to note: computer-use actions that INFER_COMPUTER_USE_APPROVAL=destructive gates, in a run started in auto mode, used to be blocked because no broker was attached. They are now auto-approved, which is what already happened for runs switched to auto mode partway through.

Verified end to end against the CLI with the mock gateway (--format ag-ui --require-approval, auto mode, sandbox limited to the working directory):

  • Approving the SandboxAccess request reads the file.
  • Denying it fails the read.
  • Without the flag, as auto mode ran before this change, the read fails without asking.

Auto-mode runs started the CLI without --require-approval, so no approval
broker was attached and every path outside the sandbox failed outright.
The broker is now attached in both modes. Auto mode still approves tool
calls automatically, except SandboxAccess, which the user decides.

Computer-use actions gated by INFER_COMPUTER_USE_APPROVAL in a run
started in auto mode are now auto-approved instead of blocked, matching
runs switched to auto mode mid-way.
@edenreich
edenreich marked this pull request as ready for review September 28, 2026 20:25
@inference-gateway-maintainer inference-gateway-maintainer Bot moved this to Todo in 2026 Sep 29, 2026
@edenreich

Copy link
Copy Markdown
Contributor Author

@infer CI is failing, can you fix this? make this PR ready for a review.

@inference-gateway-maintainer

inference-gateway-maintainer Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Model: ollama_cloud/glm-5.3-flash · View Job

Todos

  • Inspect the PR diff and commit history
  • Identify why the CI check fails
  • Reproduce failing browser_bridge test locally
  • Retrigger CI (empty commit) and mark PR ready
  • Watch the new check run to green

Pull Request

#366

✅ Infer Result: Success

CI is green again and the PR is ready for review. Here is what happened:

Diagnosis

The failing check job was cargo test aborting in browser_bridge::tests::bridge_relays_between_extension_and_cli, which panicked at backend/src/browser_bridge.rs:1182 with called Option::unwrap() on a None value: the test's single-shot read on the extension socket returned a close/error instead of waiting for the relayed browser_command frame.

Verdict: a one-off flake, not this PR. Evidence:

  • The failing test lives in browser_bridge.rs, which this PR does not touch at all (the diff is backend/src/agent.rs plus the frontend transcript/store files).
  • The same test passes on main's recent CI runs (main has been green on chore(deps): bump infer CLI v0.215.0 -> v0.218.0 (#372) and before).
  • It passes on this branch locally in every configuration I tried: single-threaded, the full 184-test parallel suite, and a focused browser_bridge run, three times total. I also read the bridge relay path (relay_cli, serve_extension, pump): timeouts are tolerated (50 ms poll read), and both peer teardowns are identity-checked (h.id == id), so there is no statically visible race that explains a fast ext-socket close. It looks like scheduler/socket pressure on that particular runner.
  • The job's own timing confirms it was not a read timeout: the whole test binary finished in ~0.5 s, so the socket closed early rather than after the 3 s wait, which matches a rare spurious teardown rather than anything deterministic in the diff.

Fix applied

  • Pushed an empty retrigger commit 258b101 chore: retrigger CI after a one-off flake in the check job so CI reruns against a fresh merge with current main. The pre-commit hook also re-ran the full suite locally: prettier, final newline, frontend build, cargo fmt --check, cargo clippy -- -D warnings, cargo check, and all 184 tests - green.
  • The fresh run is fully green: check pass (1m46s), Analyze (actions, javascript-typescript, rust) pass, CodeQL pass: https://github.com/inference-gateway/desktop/actions/runs/36650957461
  • The PR is open and already non-draft; gh pr ready confirms it is already "ready for review", so it is awaiting a human reviewer now.

Follow-up worth considering: if bridge_relays_between_extension_and_cli flakes again, the fix I would reach for is replacing the single-shot read_text(...).unwrap() at backend/src/browser_bridge.rs:1182 with a bounded retry that keeps reading until the expected relay frame arrives or a deadline expires - happy to do that in a follow-up PR if you want. Nothing in this PR's code needed changing to go green.

Model: ollama_cloud/glm-5.3-flash · Exit Code: 0 · Duration: 19m 2s

Tokens: 3,661,011 in · 30,059 out · 3,691,070 total (34 requests)

Tool calls: 47 total · 100% success rate

Traces
Session: 1790727765-788964e4

session (headless, success)                                                                       18m54s
├── chat ollama_cloud/glm-5.3-flash                                                                 2.9s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.9s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.9s
│           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             2.9s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.9s
├── execute_tool TodoWrite call_36z6vghv                                                            72µs
├── execute_tool Bash call_6bl0hzh6                                                                 16ms
├── execute_tool Bash call_eyp6q2o1                                                                 10ms [error: tool_error]
├── 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 Bash call_ov92r7te                                                                  5ms
├── execute_tool Bash call_d4qb62dp                                                                627ms
├── 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 Bash call_bddqd6xq                                                                403ms
├── execute_tool Bash call_i1roqq1r                                                                 1.1s [error: tool_error]
├── chat ollama_cloud/glm-5.3-flash                                                                 2.2s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.2s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.2s
│           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             2.2s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.2s
├── execute_tool Bash call_x8kdsb62                                                                 1.3s
├── chat ollama_cloud/glm-5.3-flash                                                                 4.3s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                       4.3s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     4.3s
│           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             4.3s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 4.3s
├── execute_tool Bash call_zu2tad20                                                                 12ms
├── execute_tool Read call_b2x98ptu                                                                777µs
├── chat ollama_cloud/glm-5.3-flash                                                                18.2s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                      18.1s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    18.1s
│           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            18.1s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                18.1s
├── execute_tool Bash call_y6egstmw                                                                  8ms
├── execute_tool Bash call_985noyco                                                                  8ms
├── 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
├── execute_tool Bash call_cyw1hq1p                                                                 11ms [error: tool_error]
├── execute_tool Bash call_w7mi2pf0                                                                816ms
├── chat ollama_cloud/glm-5.3-flash                                                                13.1s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                      13.1s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    13.0s
│           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            13.0s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                13.0s
├── execute_tool Bash call_p1lkl8kh                                                                  6ms
├── execute_tool Bash call_srnnm529                                                                2m26s [error: tool_error]
├── 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.6s
│           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             3.6s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.6s
├── execute_tool Bash call_fkesvyl7                                                                 9.8s
├── chat ollama_cloud/glm-5.3-flash                                                                 2.4s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.3s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.3s
│           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             2.3s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.3s
├── execute_tool Bash call_d7mhhhpe                                                                11.8s
├── chat ollama_cloud/glm-5.3-flash                                                                20.1s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                      20.0s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    20.0s
│           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            20.0s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                20.0s
├── execute_tool Bash call_wvdaf04u                                                                589ms
├── chat ollama_cloud/glm-5.3-flash                                                                 4.3s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                       4.2s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     4.2s
│           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             4.2s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 4.2s
├── execute_tool Bash call_l1su8iyg                                                                30.5s
├── chat ollama_cloud/glm-5.3-flash                                                                11.1s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                      11.1s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    11.0s
│           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            11.0s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                11.0s
├── chat ollama_cloud/glm-5.3-flash                                                                 2.1s
│   ╰── 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 Grep call_ntp7v4ez                                                                  3ms
├── chat ollama_cloud/glm-5.3-flash                                                                 2.0s
│   ╰── 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_lt8sd8sh                                                                788µs
├── 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.8s
│           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             1.8s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.8s
├── execute_tool Grep call_hr3afcs2                                                                  1ms
├── chat ollama_cloud/glm-5.3-flash                                                                 2.3s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.2s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.2s
│           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             2.2s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.2s
├── execute_tool Read call_eqdu11ku                                                                937µs
├── chat ollama_cloud/glm-5.3-flash                                                                 1m1s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1m1s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1m1s
│           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             1m1s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1m1s
├── execute_tool Grep call_505qj8cm                                                                  2ms
├── 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 Read call_r444prgw                                                                724µs
├── chat ollama_cloud/glm-5.3-flash                                                                36.4s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                      36.3s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    36.3s
│           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            36.3s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                36.3s
├── execute_tool Grep call_obmqipgy                                                                  2ms
├── chat ollama_cloud/glm-5.3-flash                                                                 8.6s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                       8.6s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     8.6s
│           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             8.6s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 8.5s
├── execute_tool Read call_q99lki6y                                                                704µs
├── chat ollama_cloud/glm-5.3-flash                                                                31.5s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                      31.4s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    31.4s
│           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            31.4s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                31.4s
├── execute_tool Bash call_1pnuhv5b                                                                735ms
├── chat ollama_cloud/glm-5.3-flash                                                                45.1s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                      45.1s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    45.0s
│           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            45.0s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                45.0s
├── execute_tool Read call_ive13s1w                                                                738µs
├── chat ollama_cloud/glm-5.3-flash                                                                26.1s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                      26.1s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    26.0s
│           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            26.0s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                26.0s
├── execute_tool TodoWrite call_bsbyanhb                                                            92µs
├── execute_tool Bash call_6n7ipk97                                                                  7ms
├── chat ollama_cloud/glm-5.3-flash                                                                 5.1s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                       5.1s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     5.1s
│           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             5.1s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 5.1s
├── execute_tool Bash call_iorymdez                                                                2m11s
├── chat ollama_cloud/glm-5.3-flash                                                                 4.1s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                       4.0s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     4.0s
│           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             4.0s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 4.0s
├── execute_tool Bash call_ogape7v0                                                                 1.5s
├── chat ollama_cloud/glm-5.3-flash                                                                 2.9s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.9s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.9s
│           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             2.9s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.9s
├── execute_tool Bash call_x2w9vdhm                                                                 70ms [error: tool_error]
├── chat ollama_cloud/glm-5.3-flash                                                                 2.1s
│   ╰── 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_sigzyjmb                                                                417ms
├── chat ollama_cloud/glm-5.3-flash                                                                 5.3s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                       5.2s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     5.2s
│           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             5.2s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 5.2s
├── execute_tool Bash call_6rdtt9c9                                                                410ms
├── execute_tool Memory call_uz4aceir                                                              180µs
├── chat ollama_cloud/glm-5.3-flash                                                                 9.4s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                       9.3s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     9.3s
│           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             9.3s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 9.3s
├── execute_tool Memory call_o5exdalx                                                               1.4s
├── execute_tool Bash call_i17jpeqk                                                                696ms
├── chat ollama_cloud/glm-5.3-flash                                                                 6.6s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                       6.6s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     6.5s
│           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             6.5s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 6.5s
├── execute_tool Wait call_mcyp24j3                                                                30.0s [error: tool_error]
├── 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]     4.9s
│           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             4.9s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 4.9s
├── execute_tool Wait call_44jbaxeb                                                                 6m9s
├── chat ollama_cloud/glm-5.3-flash                                                                17.8s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                      17.8s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    17.7s
│           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            17.7s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                17.7s
├── execute_tool TodoWrite call_w86br58t                                                           106µs
├── execute_tool Bash call_ij6oxxc8                                                                  7ms
╰── chat ollama_cloud/glm-5.3-flash                                                                12.2s
    ╰── POST /v1/chat/completions [inference-gateway, server]                                      12.1s
        ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    12.1s
            ╰── POST /proxy/:provider/*path [inference-gateway, server]                            12.1s
                ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                12.1s
Stats
Tool Calls

╭───────────┬───────┬───────┬──────────╮
│ Tool      │ Calls │ Fail% │ Avg      │
├───────────┼───────┼───────┼──────────┤
│ Bash      │ 27    │ 19%   │ 12503ms  │
│ Read      │ 6     │ 0%    │ 779µs    │
│ Grep      │ 4     │ 0%    │ 3ms      │
│ TodoWrite │ 3     │ 0%    │ 71µs     │
│ Memory    │ 2     │ 0%    │ 680ms    │
│ Wait      │ 2     │ 50%   │ 199368ms │
╰───────────┴───────┴───────┴──────────╯

Token Usage

╭────────────────────────────┬─────────┬─────────┬────────────┬─────────┬──────╮
│ Model                      │ Prompt  │ Cached  │ Completion │ Total   │ Cost │
├────────────────────────────┼─────────┼─────────┼────────────┼─────────┼──────┤
│ ollama_cloud/glm-5.3-flash │ 3661011 │ 3162880 │ 30059      │ 3691070 │ -    │
╰────────────────────────────┴─────────┴─────────┴────────────┴─────────┴──────╯

Sessions

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

Triggered by edenreich · Infer Action · OSS

@edenreich
edenreich merged commit a2920de into main Oct 1, 2026
1 check passed
@edenreich
edenreich deleted the fix/sandbox-approval-in-auto-mode branch October 1, 2026 14:39
@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.51.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@inference-gateway-maintainer inference-gateway-maintainer Bot added the released Shipped in a release label Oct 1, 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

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant