Skip to content

[TASK] Refactor replace custom events and frames with standard AG-UI #1419

Closed

Description

@edenreich

Part of #1396

Summary

The less of the wire that is ours, the less every client has to learn. AG-UI froze its 1.0 specification (spec/1.0/schema.json in ag-ui-protocol/ag-ui), and it now covers most of what the CLI carries in CUSTOM events and in app frames of its own: interrupts for approvals and questions, usage for token counts, state and activity events for progress, and RunAgentInput for what a client sends. Move onto the standard ones before the opentask extension and the desktop app adopt the daemon binding, so they implement the contract once.

CUSTOM is a legitimate part of AG-UI, the extension point for an application's own events. It stays the last resort, used when the protocol has nothing that fits.

Today Standard AG-UI
CUSTOM approval_request, the approval_response frame, CUSTOM approval_resolved RUN_FINISHED with outcome interrupt and an interrupt with reason: "tool_call" and the toolCallId. The answer is a resume entry on the next run
CUSTOM user_question_request, the user_question_response frame An interrupt with reason: "input_required" and a responseSchema
CUSTOM computer_use_paused / computer_use_resumed, the computer_use_control frame Stopping the run, which ends with outcome cancelled, and continuing with a new run on the thread
CUSTOM token_usage usage on RUN_FINISHED and RUN_ERROR, and the state key usage while the run is open
CUSTOM background_tasks The state key backgroundTasks
CUSTOM screen_recording The state key screenRecording
CUSTOM agent_status, written before RUN_STARTED ACTIVITY_SNAPSHOT after RUN_STARTED
CUSTOM judge_verdict ACTIVITY_SNAPSHOT
CUSTOM queued_message A text message with the role the note has in the conversation
The user_message frame and its attachments A frame that carries a RunAgentInput, with files as content parts of the user message
MESSAGES_SNAPSHOT sent outside a run MESSAGES_SNAPSHOT inside a run

What stays ours, because AG-UI has nothing for it: the handshake, new_session and resume_conversation, the interrupt frame that stops a run, the panel requests and their replies, and the browser commands.

Acceptance Criteria

  • The AG-UI Go SDK is bumped to a version that has usage, the interrupt outcome and the 1.0 outcome set, and the cancelled outcome is no longer written as a literal
  • A tool call that needs approval ends the run with outcome interrupt. The resume entry approves it with resolved or declines it with cancelled, and the next run writes the TOOL_CALL_RESULT for the same toolCallId
  • A question to the user is an interrupt with reason: "input_required" and a responseSchema, answered by a resume entry's payload
  • A resume answers every open interrupt of the run, as the specification requires, and a resume that misses one is refused with RUN_ERROR
  • The registry keeps the first resume for an interrupted thread and drops the later ones. The thread's other clients learn the answer from the RUN_STARTED that follows
  • Pausing computer use stops the run and continuing starts a new one. The computer_use_control frame and the two CUSTOM events are removed
  • RUN_FINISHED and RUN_ERROR carry usage. What usage has no field for, such as cost and the context window, stays in result
  • State is one object. STATE_SNAPSHOT carries every key (todos, usage, backgroundTasks, screenRecording) and STATE_DELTA patches one, so a change to one key no longer replaces the others
  • A client starts and continues a run with a frame that carries a RunAgentInput. messages holds the new messages only, since the worker owns the history
  • No event is written before RUN_STARTED or after the run's terminal event
  • Every event validates against the upstream spec/1.0/schema.json in a test
  • Legacy --format json output is unchanged
  • docs/ag-ui-output.md and docs/browser-extension-protocol.md describe the new contract, and protocol_version is raised

Activity

  1. added
    refactor
    on Sep 30, 2026
  2. added theissue type on Sep 30, 2026
  3. moved this to Todo in 2026on Sep 30, 2026
  4. edenreich commented on Sep 30, 2026

    @edenreich
    ContributorAuthor

    @infer can you work on this? use /domain-driven-design /go /go-concurrency /clean-architecture /clean-code

  5. inference-gateway-maintainer commented on Sep 30, 2026

    @inference-gateway-maintainer
    Contributor

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

    Todos

    • [~] Explore current AG-UI implementation (protocols/agui, frames, custom events)
    • Check AG-UI Go SDK version + new SDK API surface (Interrupt, ResumeEntry, RunAgentInput, usage)
    • Commit existing partial work: SDK bump, run.go, binding.go, fixed typo
    • Update run_test.go and add schema-validation test against testdata/ag-ui-1.0-schema.json
    • Refactor computer published_events: drop paused/resumed CUSTOMs, screen_recording to state key
    • Rewrite RunEncoder: usage/state/ACTIVITY/interrupts for approvals and questions, queued_message as message
    • Rewrite sessions registry: RunAgentInput frames, first-resume-wins, no approval_resolved CUSTOM
    • Rewrite headless control/serve: interrupts stop runs, resume via new run
    • Update browser extension client + panel tools for new approval flow
    • Update docs (ag-ui-output.md, browser-extension-protocol.md) and protocol_version
    • Run checks (task precommit:run), commit + push incrementally
    • Open draft PR (or continue existing one) and set board status QA

    Pull Request

    #1439

    ⚠️ Infer Result: Stopped early

    The agent hit the job's time limit before finishing, so it was stopped to salvage its work. Its committed changes were pushed; the draft pull request is linked above.

    The validator dependency is added. Let me run the agui package tests.

    Model: ollama_cloud/glm-5.3-flash · Exit Code: 0 · Duration: 38m 40s

    Tokens: 19,782,062 in · 150,243 out · 19,932,305 total (141 requests)

    Tool calls: 199 total · 100% success rate

    Traces
    Session: 1790787723-34dc8929
    
    session (in progress)                                                                              38m6s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 7.2s
    │   ╰── 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
    ├── 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 Read call_vag8dk36                                                                300µs
    ├── execute_tool Read call_d3gebrx2                                                                291µs
    ├── 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_13hombko                                                            64µs
    ├── 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 Read call_umlhm9mm                                                                283µs
    ├── execute_tool Read call_ccx1x3gc                                                                276µ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 Read call_3kyngl0a                                                                310µs
    ├── execute_tool Bash call_ea6ahhl8                                                                540ms
    ├── 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_01rqeh14                                                                 1.6s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.5s
    │   ╰── 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_d08v3lyj                                                                 1.0s
    ├── execute_tool Bash call_pwik5sa8                                                                  9ms
    ├── 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
    ├── execute_tool TodoWrite call_4bsxxxa1                                                            72µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.5s
    │   ╰── 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_vdhxcpd8                                                                  9ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.3s
    │   ╰── 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_6r0loamg                                                                 1.7s
    ├── 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 Tree call_slnbhnhn                                                                667µs
    ├── execute_tool Read call_yblo2o57                                                                598µs
    ├── 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_gipqk61l                                                                713µs
    ├── execute_tool Read call_8ad84i3o                                                                785µs
    ├── 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
    ├── 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 Bash call_a34mv1gv                                                                  6ms
    ├── execute_tool Bash call_0o440k31                                                                  6ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 4.7s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       4.7s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     4.7s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             4.7s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 4.7s
    ├── execute_tool Read call_h2b023sd                                                                558µs
    ├── 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 Grep call_x2pox6i7                                                                906µ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 Read call_2qiwbprf                                                                562µs
    ├── execute_tool Read call_kep0wl17                                                                735µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 6.4s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       6.4s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     6.3s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             6.3s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 6.3s
    ├── execute_tool Read call_clifi4ng                                                                529µs
    ├── execute_tool Read call_kq2hvmmr                                                                468µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 6.1s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       6.0s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     6.0s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             6.0s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 6.0s
    ├── execute_tool Read call_omgnow8d                                                                497µs
    ├── execute_tool Read call_i02nsu79                                                                693µ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.3s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             4.3s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 4.3s
    ├── execute_tool Read call_1fi30qxu                                                                500µs
    ├── execute_tool Read call_vx5ldy6u                                                                516µs
    ├── 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 Read call_1re8rqrd                                                                582µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.6s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.5s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.5s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             2.5s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.5s
    ├── execute_tool Read call_8pud3hqd                                                                544µs
    ├── execute_tool Read call_syqf1e6p                                                                513µs
    ├── 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.6s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             2.6s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.6s
    ├── 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.8s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             3.8s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.8s
    ├── execute_tool Bash call_harbs4fl                                                                  6ms
    ├── 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_meax8buw                                                                  3ms [error: tool_error]
    ├── 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_5rburi5l                                                                  3ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.8s
    │   ╰── 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_uy8k1a6b                                                                  3ms [error: tool_error]
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.9s
    │   ╰── 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_11pqe1go                                                                  3ms
    ├── 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_d95z269s                                                                  3ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.6s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.5s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.5s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             2.5s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.5s
    ├── execute_tool Bash call_hmbpgcs9                                                                  3ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.6s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.5s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.5s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             2.5s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.5s
    ├── execute_tool Bash call_9gcoyvgz                                                                  3ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.5s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.5s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.5s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             2.5s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.5s
    ├── execute_tool Bash call_mt3ux4hd                                                                  4ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.3s
    │   ╰── 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 Read call_xdyggmhv                                                                634µs
    ├── 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.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_udb9ynlh                                                                  3ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 7.8s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       7.8s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     7.8s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             7.8s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 7.8s
    ├── execute_tool Read call_7isa9s4a                                                                625µ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.7s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             4.7s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 4.7s
    ├── execute_tool Bash call_ewyasphp                                                                 94ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 3.5s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       3.4s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     3.4s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             3.4s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.4s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 6.5s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       6.5s
    │       ╰── 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 Bash call_odn2lkrk                                                                39.6s
    ├── 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.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_uhu2mupq                                                                  3ms
    ├── 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 Grep call_v97qsfzy                                                                 26ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 5.8s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       5.7s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     5.7s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             5.7s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 5.7s
    ├── execute_tool WebFetch call_t7u1n3ci                                                            141ms
    ├── execute_tool Read call_5rtlmy8m                                                                708µs
    ├── 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.7s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             2.7s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.7s
    ├── execute_tool WebFetch call_qm9c1859                                                             12ms
    ├── 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.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_mzrzlpbj                                                                369µs [error: tool_error]
    ├── chat ollama_cloud/glm-5.3-flash                                                                24.6s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      24.6s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    24.5s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            24.5s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                24.5s
    ├── execute_tool Write call_e33cc0im                                                                 1ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.9s
    │   ╰── 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_ems4nn2i                                                                 4.9s [error: tool_error]
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.5s
    │   ╰── 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_ayps4z8i                                                                 47ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.5s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.5s
    │       ╰── 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_8qzzfh8j                                                                  1ms
    ├── 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_sinnz1dy                                                                604µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 3.6s
    │   ╰── 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 Grep call_8vmqxi82                                                                 15ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                10.7s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      10.7s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    10.7s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            10.7s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                10.7s
    ├── execute_tool Read call_qneds4jv                                                                604µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 7.8s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       7.8s
    │       ╰── 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
    ├── execute_tool Read call_gztl4vmb                                                                499µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                45.2s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      45.1s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    45.1s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            45.1s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                45.1s
    ├── execute_tool Read call_a2njtme7                                                                766µs
    ├── execute_tool Read call_k789t577                                                                926µs
    ├── execute_tool Read call_w9xc2rtl                                                                755µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1m9s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1m8s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1m8s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             1m8s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1m8s
    ├── execute_tool Grep call_3545kxlk                                                                734ms
    ├── execute_tool Read call_juff1bbc                                                                578µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 3.8s
    │   ╰── 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 Read call_4750mm4b                                                                754µs
    ├── execute_tool Read call_xjl4c50j                                                                696µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                15.7s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      15.6s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    15.6s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            15.6s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                15.6s
    ├── execute_tool Read call_wgwz1ijx                                                                635µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                10.2s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      10.1s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    10.0s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            10.0s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                10.0s
    ├── execute_tool Grep call_0lu4gbqo                                                                  1ms
    ├── execute_tool Grep call_n9n8lgg4                                                                 82ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 5.0s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       4.9s
    │       ╰── 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 Read call_n3b3cg8h                                                                609µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 3.5s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       3.4s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     3.3s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             3.3s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.3s
    ├── execute_tool Bash call_onnmhpon                                                                  3ms
    ├── execute_tool Grep call_sq6czeab                                                                  2ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                11.2s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      11.2s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    11.1s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            11.1s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                11.1s
    ├── execute_tool Grep call_iqlr38td                                                                 41ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                45.8s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      45.7s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    45.7s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            45.7s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                45.7s
    ├── execute_tool Read call_cpq6ms69                                                                574µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 5.6s
    │   ╰── 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 Grep call_mr9mrz4g                                                                 10ms
    ├── execute_tool Read call_hcqkgsrg                                                                509µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 4.0s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       3.9s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     3.8s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             3.8s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.8s
    ├── execute_tool Read call_sv2aoz5v                                                                478µs
    ├── execute_tool Read call_5mo580da                                                                528µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                40.7s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      40.6s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    40.5s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            40.5s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                40.5s
    ├── execute_tool Grep call_weh5usho                                                                  1ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                23.4s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      23.3s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    23.2s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            23.2s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                23.2s
    ├── execute_tool Read call_a3zmzhdf                                                                598µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                27.8s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      27.7s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    27.6s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            27.6s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                27.6s
    ├── execute_tool Read call_55yty48q                                                                726µs
    ├── execute_tool Read call_rqhow5gj                                                                680µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                54.1s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      54.0s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    54.0s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            54.0s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                54.0s
    ├── execute_tool Grep call_64xh7gqo                                                                 19ms
    ├── execute_tool Grep call_1wkxkwpk                                                                  1ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                11.6s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      11.5s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    11.4s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            11.4s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                11.4s
    ├── execute_tool Read call_yeie887f                                                                651µs
    ├── execute_tool Read call_kozdc13r                                                                651µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                48.3s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      48.3s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    48.2s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            48.2s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                48.2s
    ├── execute_tool Grep call_65q0chew                                                                 81ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 3.0s
    │   ╰── 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 Read call_637f06di                                                                524µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                1m50s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      1m50s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    1m50s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            1m50s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                1m50s
    ├── execute_tool Grep call_ltqc9lv0                                                                662ms
    ├── execute_tool Read call_2linnbcu                                                                797µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                44.4s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      44.4s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    44.3s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            44.3s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                44.3s
    ├── execute_tool Grep call_4ot433sd                                                                  1ms
    ├── execute_tool Grep call_w9unp5pd                                                                580ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                47.6s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      47.5s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    47.4s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            47.4s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                47.4s
    ├── execute_tool Read call_inif290g                                                                546µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                1m10s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      1m10s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    1m10s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            1m10s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                1m10s
    ├── execute_tool Grep call_ypvmvccy                                                                  1ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                45.9s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      45.8s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    45.7s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            45.7s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                45.7s
    ├── execute_tool Grep call_0io9ykz4                                                                734ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                22.2s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      22.1s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    22.0s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            22.0s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                22.0s
    ├── execute_tool Grep call_4u99t5eg                                                                  1ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 3.1s
    │   ╰── 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 Grep call_k0c7nt6z                                                                  6ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                53.9s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      53.8s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    53.7s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            53.7s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                53.7s
    ├── execute_tool Grep call_dm9g7fv7                                                                  1ms
    ├── execute_tool Grep call_nt3lcdol                                                                401ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                13.0s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      12.9s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    12.8s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            12.8s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                12.8s
    ├── execute_tool TodoWrite call_vzqrcmbz                                                            60µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                37.8s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      37.7s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    37.6s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            37.6s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                37.6s
    ├── execute_tool Grep call_g2cjp3rs                                                                  4ms
    ├── execute_tool Read call_9veb8m9u                                                                716µs
    ├── 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.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_b38tlh8i                                                                531µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                24.0s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      24.0s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    23.9s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            23.9s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                23.9s
    ├── execute_tool Write call_lcssph5v                                                                 1ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 4.7s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       4.6s
    │       ╰── 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 Edit call_j4x25onx                                                                962µs
    ├── 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 Read call_9fx8sxhv                                                                331µs
    ├── execute_tool Read call_ouexyht4                                                                384µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 5.7s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       5.7s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     5.7s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             5.7s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 5.7s
    ├── execute_tool TodoWrite call_n4nobacp                                                            51µs
    ├── execute_tool Read call_9wv7owbo                                                                204µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.3s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.3s
    │       ╰── 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_glchrrdp                                                                282µs
    ├── execute_tool Read call_xdd42lq7                                                                358µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 4.0s
    │   ╰── 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 TodoWrite call_hqsrqppx                                                            59µs
    ├── execute_tool Bash call_3qlfo6d5                                                                435ms
    ├── 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_ucq2x9vx                                                                 2.0s
    ├── execute_tool Bash call_yf1kx3rm                                                                 10ms
    ├── 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_h30apx14                                                                680ms
    ├── execute_tool Read call_agqqgkau                                                                481µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 4.0s
    │   ╰── 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 TodoWrite call_aiwhwyf2                                                            63µs
    ├── 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 Read call_0hh4xawl                                                                579µs
    ├── execute_tool Read call_6zrkrlpv                                                                507µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                11.7s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      11.7s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    11.7s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            11.7s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                11.7s
    ├── execute_tool Bash call_0uxivita                                                                  4ms
    ├── execute_tool Bash call_97fzgwuw                                                                  9ms
    ├── 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 Bash call_odyew3e7                                                                  7ms
    ├── execute_tool Bash call_8ofk3k1i                                                                  5ms
    ├── 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.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_7klt4ml3                                                                  6ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                12.6s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      12.6s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    12.6s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            12.6s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                12.6s
    ├── execute_tool Bash call_dlm598hs                                                                56.6s [error: tool_error]
    ├── execute_tool Read call_scld777w                                                                608µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 4.8s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       4.7s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     4.7s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             4.7s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 4.7s
    ├── execute_tool Bash call_lozga1nf                                                                  3ms
    ├── execute_tool Bash call_mwxm3mf2                                                                  4ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                10.8s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      10.8s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    10.7s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            10.7s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                10.7s
    ├── execute_tool Bash call_4n1xmnny                                                                  3ms
    ├── execute_tool Bash call_qsf35pnk                                                                  3ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                10.2s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      10.2s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    10.1s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            10.1s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                10.1s
    ├── execute_tool Bash call_gnk7z6yd                                                                 45ms
    ├── execute_tool Bash call_102kahvm                                                                 57ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                12.3s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      12.3s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    12.3s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            12.3s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                12.3s
    ├── execute_tool Grep call_0ezst78q                                                                  1ms
    ├── execute_tool Grep call_8krz9633                                                                 13ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                15.6s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      15.6s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    15.6s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            15.6s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                15.6s
    ├── execute_tool Grep call_9thb0fuk                                                                 12ms
    ├── execute_tool Bash call_qmrqw593                                                                  3ms [error: tool_error]
    ├── chat ollama_cloud/glm-5.3-flash                                                                10.9s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      10.9s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    10.8s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            10.8s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                10.8s
    ├── execute_tool Bash call_exginaca                                                                374ms [error: tool_error]
    ├── chat ollama_cloud/glm-5.3-flash                                                                19.6s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      19.5s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    19.5s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            19.5s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                19.5s
    ├── execute_tool Read call_7gpc54dy                                                                465µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 7.4s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       7.4s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     7.3s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             7.3s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 7.3s
    ├── execute_tool Grep call_9zqaztxy                                                                  1ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                12.7s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      12.7s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    12.7s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            12.7s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                12.7s
    ├── execute_tool Grep call_sc3lni5b                                                                 17ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 3.9s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       3.8s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     3.8s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             3.8s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.8s
    ├── execute_tool Edit call_874d5u2g                                                                913µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.5s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.5s
    │       ╰── 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_cu1lgyr4                                                                 1.3s [error: tool_error]
    ├── chat ollama_cloud/glm-5.3-flash                                                                 4.2s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       4.2s
    │       ╰── 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 Read call_ssxqp714                                                                479µs
    ├── execute_tool Bash call_1lh5002u                                                                  5ms [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 Read call_0cuf84mq                                                                569µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.5s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.5s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.5s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             2.5s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.5s
    ├── execute_tool Read call_ewsju11i                                                                489µ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.1s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             2.1s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.1s
    ├── execute_tool Read call_6va5wr7u                                                                549µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 3.3s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       3.3s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     3.3s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             3.3s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.3s
    ├── execute_tool Read call_07u2l5o1                                                                621µs
    ├── 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 Read call_243io0te                                                                513µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                23.2s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      23.2s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    23.2s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            23.2s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                23.2s
    ├── execute_tool Read call_w5alff6v                                                                477µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                41.8s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      41.8s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    41.8s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            41.8s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                41.8s
    ├── execute_tool Read call_yg5lut82                                                                545µs
    ├── 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.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_8pef1sei                                                                  4ms
    ├── execute_tool Read call_u3ea2bzw                                                                525µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 4.4s
    │   ╰── 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 Read call_7w2ayr5h                                                                513µs
    ├── execute_tool Read call_1nld6gqo                                                                561µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 4.4s
    │   ╰── 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 Read call_7sd995n9                                                                637µs
    ├── execute_tool Read call_2844x2z7                                                                481µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                15.6s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      15.5s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    15.5s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            15.5s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                15.5s
    ├── execute_tool TodoWrite call_2zlqajcz                                                            54µs
    ├── execute_tool Read call_nu2rb39d                                                                519µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 3.0s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.9s
    │       ╰── 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 Read call_ocspxk27                                                                628µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                2m20s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      2m20s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    2m20s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            2m20s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                2m20s
    ├── chat ollama_cloud/glm-5.3-flash                                                                16.2s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      16.1s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    16.1s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            16.1s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                16.1s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 3.8s
    │   ╰── 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_l11wc8jx                                                                  1ms
    ├── execute_tool Bash call_rvm1y8z0                                                                  3ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 3.4s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       3.3s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     3.3s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             3.3s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.3s
    ├── execute_tool Grep call_wrjvwa0x                                                                  1ms
    ├── execute_tool Grep call_qbp8nohb                                                                  1ms
    ├── 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.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_ngjgrp83                                                                823µs
    ├── execute_tool Read call_7r792ho0                                                                734µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 5.2s
    │   ╰── 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 Grep call_2opzcy78                                                                 14ms
    ├── execute_tool Bash call_blnpll8a                                                                  3ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                1m37s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      1m37s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    1m37s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            1m37s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                1m37s
    ├── execute_tool Read call_huegxgp4                                                                507µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 5.7s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       5.6s
    │       ╰── 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 Grep call_2nwe7upi                                                                  2ms
    ├── execute_tool Read call_46vywuf2                                                                536µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                1m38s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      1m38s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    1m38s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            1m38s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                1m38s
    ├── execute_tool Grep call_tu0o0q19                                                                  1ms
    ├── 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.1s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             4.1s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 4.1s
    ├── execute_tool Grep call_b5kp16pn                                                                  1ms
    ├── execute_tool Read call_shiocfkg                                                                529µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                1m19s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      1m19s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    1m19s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            1m19s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                1m19s
    ├── execute_tool Grep call_lcbf517i                                                                 1.3s
    ├── execute_tool Grep call_eiqxucp9                                                                 1.9s
    ├── 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.1s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             5.1s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 5.1s
    ├── execute_tool Grep call_osiol2td                                                                  1ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                1m35s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      1m35s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    1m35s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            1m35s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                1m35s
    ├── 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_ohvk1ouz                                                                  1ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                34.0s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      33.9s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    33.9s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            33.9s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                33.9s
    ├── execute_tool Grep call_kcwjbrol                                                                  1ms
    ├── execute_tool Read call_t0qr5qyr                                                                487µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                21.4s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      21.3s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    21.3s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            21.3s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                21.3s
    ├── execute_tool Write call_xjauenjb                                                                 1ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                24.7s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      24.6s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    24.6s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            24.6s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                24.6s
    ├── execute_tool Grep call_d1eav4x9                                                                  1ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.9s
    │   ╰── 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 Read call_qjw6gb3a                                                                512µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 9.3s
    │   ╰── 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 Read call_z2vtvncw                                                                535µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                19.2s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      19.1s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    19.1s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            19.1s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                19.1s
    ├── execute_tool Read call_2q7rkash                                                                605µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                28.1s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      28.0s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    27.9s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            27.9s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                27.9s
    ├── execute_tool Write call_kowr6clg                                                                 1ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 3.1s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       3.0s
    │       ╰── 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_faipjoy7                                                                421ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 5.4s
    │   ╰── 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 Bash call_upnrqa5a                                                                 4.8s [error: tool_error]
    
    Stats
    Tool Calls
    
    ╭───────────┬───────┬───────┬────────╮
    │ Tool      │ Calls │ Fail% │ Avg    │
    ├───────────┼───────┼───────┼────────┤
    │ Read      │ 82    │ 0%    │ 558µs  │
    │ Bash      │ 49    │ 18%   │ 2373ms │
    │ Grep      │ 43    │ 2%    │ 156ms  │
    │ TodoWrite │ 7     │ 0%    │ 61µs   │
    │ Write     │ 4     │ 0%    │ 1ms    │
    │ WebFetch  │ 2     │ 0%    │ 77ms   │
    │ Edit      │ 2     │ 0%    │ 938µs  │
    │ Tree      │ 1     │ 0%    │ 671µs  │
    ╰───────────┴───────┴───────┴────────╯
    
    Token Usage
    
    ╭────────────────────────────┬──────────┬──────────┬────────────┬──────────┬──────╮
    │ Model                      │ Prompt   │ Cached   │ Completion │ Total    │ Cost │
    ├────────────────────────────┼──────────┼──────────┼────────────┼──────────┼──────┤
    │ ollama_cloud/glm-5.3-flash │ 19782062 │ 17494400 │ 150243     │ 19932305 │ -    │
    ╰────────────────────────────┴──────────┴──────────┴────────────┴──────────┴──────╯
    
    ⚠️ 1 log(s)
    • agent:
      …   - at '/type': value must be 'SUBAGENT_STARTED'\n                - at '/usage': false schema\n                - at '/message': false schema\n                - at '/runId': false schema\n              - at '': validation failed\n                - at '': missing property 'subagentRunId'\n                - at '/type': value must be 'SUBAGENT_FINISHED'\n                - at '/message': false schema\n                - at '/runId': false schema\n                - at '/usage': false schema\n              - at '': validation failed\n                - at '': missing property 'subagentRunId'\n                - at '/type': value must be 'SUBAGENT_ERROR'\n                - at '/usage': false schema\n                - at '/runId': false schema\n            {\"type\":\"RUN_ERROR\",\"timestamp\":1790790012653,\"message\":\"boom\",\"runId\":\"run-1\",\"usage\":[{\"model\":\"m\",\"inputTokens\":3,\"outputTokens\":5}]}\n--- FAIL: TestRunContinuationCarriesTheState (0.00s)\npanic: interface conversion: interface {} is map[string]interface {}, not []interface {} [recovered, repanicked]\n\ngoroutine 26 [running]:\ntesting.tRunner.func1.2({0x83ada0, 0x369082f16360})\n\t/opt/hostedtoolcache/go/1.26.7/x64/src/testing/testing.go:1974 +0x232\ntesting.tRunner.func1()\n\t/opt/hostedtoolcache/go/1.26.7/x64/src/testing/testing.go:1977 +0x349\npanic({0x83ada0?, 0x369082f16360?})\n\t/opt/hostedtoolcache/go/1.26.7/x64/src/runtime/panic.go:860 +0x13a\ngithub.com/inference-gateway/cli/internal/protocols/agui.TestRunContinuationCarriesTheState(0x369082bf7448)\n\t/home/runner/work/cli/cli/internal/protocols/agui/run_test.go:340 +0x567\ntesting.tRunner(0x369082bf7448, 0x8f30a0)\n\t/opt/hostedtoolcache/go/1.26.7/x64/src/testing/testing.go:2036 +0xea\ncreated by testing.(*T).Run in goroutine 1\n\t/opt/hostedtoolcache/go/1.26.7/x64/src/testing/testing.go:2101 +0x4c5\nFAIL\tgithub.com/inference-gateway/cli/internal/protocols/agui\t0.039s\nFAIL",
      "rejected": false,
      "success": false,
      "tool_name": "Bash"
      }
      }
      

    Triggered by edenreich · Infer Action · OSS

  6. added a commit that references this issue on Sep 30, 2026
    e2b3f0a
  7. inference-gateway-releaser commented on Oct 1, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.221.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

    refactorreleased

    Type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions