Skip to content

[BUG] The stats cmd is not accurate when mentioning avg speed 0ms #1266

Closed

Description

@edenreich

Summary

Image

Steps to Reproduce

  1. Run a bunch of tool calls to produce some metrics
  2. Run: infer stats
  3. See Avg speed 0ms

Expected Behavior

I would expect to see the correct avg speed if it's less then 1ms - perhaps to see microseconds.

Actual Behavior

When it's in microseconds I can only see 0ms - not accurate.

Activity

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

    @edenreich
    ContributorAuthor

    @infer Can you fix this? use /ponytail:ponytail /go

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

    @inference-gateway-maintainer
    Contributor

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

    Todos

    • Add issue [BUG] The stats cmd is not accurate when mentioning avg speed 0ms #1266 to Roadmap board, set In progress
    • Create fix/issue-1266 branch and push
    • Find root cause of Avg speed 0ms in stats command
    • Fix duration formatting to show microseconds (AvgMs float64 + FormatAvg + 4 call sites)
    • Add test, run checks, commit and push
    • Open draft PR, set board QA, [DOCS] issue, mark ready

    Pull Request

    #1267

    ✅ Infer Result: Success

    Fixed. PR #1267 (fix/issue-1266, ready for review): #1267

    Root cause: ToolStat.AvgMs was an int64 milliseconds value computed in toolStats() as int64(durSum/durCount*1000), truncating any mean under 1ms to 0 - and every renderer then printed %dms.

    Fix (shared once, at the root):

    • internal/platform/telemetry/stats.go - AvgMs is now float64 (JSON key avg_ms unchanged, values may be fractional, which also fixes infer stats --format json), aggregation drops the truncation, and a new telemetry.FormatAvg() (next to the existing FormatFailRate) renders microseconds below 1ms (e.g. 432µs) and whole milliseconds above.
    • Applied it at all four ToolStat surfaces so they can't drift: infer stats (cmd/stats), the /stats shortcut markdown + vertical views (presentation/shortcuts), and the infer insights digest + report (internal/insights).
    • Added internal/platform/telemetry/stats_test.go: table test for FormatAvg plus a regression test that a 0.4ms mean survives aggregation un-truncated.

    Checks: targeted package tests pass, full task test suite passes, task precommit:run gate passes (golangci-lint 0 issues). go vet ./... fails only in robotgo (missing X11 headers on this runner, pre-existing and unrelated); touched packages vet clean with -tags purego. The issue screenshot couldn't be downloaded (user-attachments domain blocked by the sandbox), so I worked from the issue text. Board updated to In progress then QA; follow-up [DOCS] issue filed in inference-gateway/docs#721 for the new avg formatting.

    All work is complete and verified. Final summary:

    Fixed issue #1266 - PR #1267 (fix/issue-1266, ready for review): #1267

    Root cause: ToolStat.AvgMs was an int64 milliseconds value computed in toolStats() as int64(durSum/durCount*1000), truncating any mean under 1ms to 0 - and every renderer then printed %dms, showing "0ms" for fast tools.

    Fix (root cause, shared once):

    • internal/platform/telemetry/stats.go - AvgMs is now float64 (JSON key avg_ms unchanged, values may be fractional, which also fixes infer stats --format json showing 0 for sub-ms averages); aggregation drops the whole-ms truncation; new telemetry.FormatAvg() (next to the existing FormatFailRate) renders microseconds below 1ms (e.g. 432µs) and whole milliseconds above.
    • Applied at all four ToolStat render surfaces so they can't drift: infer stats (cmd/stats), the /stats shortcut markdown + vertical views (internal/presentation/shortcuts), and the infer insights digest + report (internal/insights).
    • New internal/platform/telemetry/stats_test.go: table test for FormatAvg plus a regression test that a 0.4ms mean survives aggregation un-truncated.

    Checks: targeted package tests pass, full task test suite passes, task precommit:run gate passes (golangci-lint 0 issues), go vet -tags purego clean on touched packages. (go vet ./... fails only in robotgo - missing X11 headers on this runner, pre-existing and unrelated.) The issue's screenshot couldn't be downloaded (user-attachments domain blocked by the sandbox), so the fix was driven by the issue text.

    Tracking: issue #1266 added to Roadmap board #7, moved to QA after the PR opened; follow-up [DOCS] issue filed in inference-gateway/docs#721; avg_ms in --format json may now be fractional (noted in the PR body). Working tree is clean and everything is pushed.

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

    Tokens: 2,513,107 in · 27,581 out · 2,540,688 total (37 requests)

    Tool calls: 66 total · 100% success rate

    Traces
    Session: 1790099081-eaf33331
    
    session (headless, success)                                                                       11m52s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 3.0s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       3.0s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     3.0s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             3.0s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.0s
    ├── execute_tool Read call_pkdlja0g                                                                198µs
    ├── execute_tool Read call_4s6rvnom                                                                182µ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 TodoWrite call_c51y80oy                                                            67µs
    ├── execute_tool Read call_n59o1q4w                                                                173µ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 Read call_zyqervk8                                                                192µs
    ├── execute_tool Bash call_a7elvz1c                                                                373ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                13.9s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      13.9s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    13.9s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            13.9s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                13.9s
    ├── execute_tool Grep call_hrggmfpp                                                                  1ms
    ├── execute_tool Grep call_n5emk5lq                                                                351ms
    ├── execute_tool Bash call_hz8lpg4a                                                                 1.4s
    ├── chat ollama_cloud/glm-5.3-flash                                                                30.1s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      30.1s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    30.1s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            30.1s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                30.1s
    ├── execute_tool Grep call_tybwr063                                                                 37ms
    ├── execute_tool Grep call_wy0hmelw                                                                100ms
    ├── execute_tool Bash call_n040t9gq                                                                 15ms
    ├── execute_tool Bash call_7uglp5sn                                                                816ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                14.4s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      14.4s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    14.4s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            14.4s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                14.4s
    ├── execute_tool Grep call_zxtbry5r                                                                384ms
    ├── execute_tool Bash call_7u32rpo8                                                                 1.5s
    ├── 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.5s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            15.5s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                15.5s
    ├── execute_tool Bash call_x7gzfvou                                                                  6ms
    ├── 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 Grep call_znxqolcj                                                                260µs
    ├── execute_tool Grep call_xn3p0k9o                                                                461µs
    ├── execute_tool Grep call_02lbgsy9                                                                513µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                21.0s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      21.0s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    21.0s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            21.0s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                21.0s
    ├── execute_tool Read call_f11sn0bv                                                                453µs
    ├── execute_tool Read call_jdddcd8v                                                                564µs
    ├── execute_tool WebFetch call_6s4yil57                                                            240ms [error: tool_error]
    ├── 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 Read call_aug8gwoq                                                                166µs
    ├── execute_tool Read call_16chf62t                                                                130µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                16.5s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      16.5s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    16.4s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            16.4s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                16.4s
    ├── execute_tool Grep call_r82ork13                                                                466µs
    ├── execute_tool Grep call_kuwnne4v                                                                211ms
    ├── execute_tool Grep call_97hevfwn                                                                 25ms
    ├── execute_tool Read call_8oi5vcv2                                                                130µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                13.9s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      13.8s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    13.8s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            13.8s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                13.8s
    ├── execute_tool Read call_chquuoqj                                                                135µs
    ├── execute_tool Grep call_2p262fcm                                                                441µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                28.7s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      28.7s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    28.7s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            28.7s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                28.7s
    ├── execute_tool Read call_cj73ykec                                                                129µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                24.3s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      24.3s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    24.3s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            24.3s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                24.3s
    ├── execute_tool TodoWrite call_0p58u050                                                            70µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                21.6s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      21.6s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    21.6s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            21.6s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                21.6s
    ├── execute_tool MultiEdit call_c23omp7u                                                           418µs
    ├── execute_tool Edit call_o2323vjy                                                                408µs
    ├── execute_tool MultiEdit call_224m8ub1                                                           758µs
    ├── execute_tool MultiEdit call_i1jb4obb                                                           332µ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 Write call_z2bpvkjt                                                               778µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.9s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.9s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.9s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             1.9s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.9s
    ├── execute_tool Bash call_oizemn88                                                                1m30s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 5.0s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       5.0s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     5.0s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             5.0s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 5.0s
    ├── execute_tool Bash call_g0f853i3                                                                  9ms
    ├── 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_8nbmq4x3                                                                 1m9s [error: tool_error]
    ├── chat ollama_cloud/glm-5.3-flash                                                                 3.0s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       3.0s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     3.0s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             3.0s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.0s
    ├── execute_tool Bash call_h5dnnjle                                                                  5ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.7s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.7s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.7s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             1.7s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.7s
    ├── execute_tool Bash call_2agnbi6p                                                                  8ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.9s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.9s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.8s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             1.8s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.8s
    ├── execute_tool Bash call_v7q3ciuq                                                                1m20s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 3.5s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       3.5s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     3.5s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             3.5s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.5s
    ├── execute_tool Bash call_qsrk2h80                                                                 5.3s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 6.0s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       5.9s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     5.9s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             5.9s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 5.9s
    ├── execute_tool Write call_8ju6byvd                                                               889µs
    ├── execute_tool Bash call_arva1597                                                                 1.7s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 7.0s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       7.0s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     7.0s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             7.0s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 7.0s
    ├── execute_tool Grep call_29uan2rc                                                                365µ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 Edit call_zzv8zwap                                                                175µs
    ├── 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_vyeugey2                                                                 2.3s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 6.5s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       6.4s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     6.4s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             6.4s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 6.4s
    ├── execute_tool WebFetch call_wbab6a6v                                                            143ms
    ├── execute_tool Bash call_d6usw16b                                                                692ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                24.7s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      24.7s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    24.7s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            24.7s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                24.7s
    ├── execute_tool Write call_o5r4ufh0                                                               722µs
    ├── execute_tool Bash call_d3vb0i1m                                                                26.0s [error: tool_error]
    ├── chat ollama_cloud/glm-5.3-flash                                                                 6.6s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       6.6s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     6.6s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             6.6s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 6.6s
    ├── execute_tool Bash call_0h1pxw6a                                                                  1ms
    ├── execute_tool Bash call_5ft3nrla                                                                482ms [error: tool_error]
    ├── execute_tool Bash call_idqst23d                                                                 1.5s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 6.2s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       6.1s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     6.1s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             6.1s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 6.1s
    ├── execute_tool Bash call_8jsu67u2                                                                22.9s
    ├── 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 Memory call_d0sucod4                                                               1.4s
    ├── execute_tool Memory call_db6d3uxd                                                               1.4s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 7.1s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       7.0s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     7.0s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             7.0s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 7.0s
    ├── execute_tool Wait call_a0o3cazi                                                                48.5s
    ├── 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 TodoWrite call_6u7cairo                                                            78µs
    ├── execute_tool Bash call_avs2d64g                                                                 12ms
    ├── execute_tool Bash call_aete22li                                                                 12ms
    ├── execute_tool Bash call_g6f1rhcd                                                                889ms
    ├── 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
    ├── execute_tool Bash call_xiev0ldh                                                                 1.3s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 7.9s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       7.9s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     7.9s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             7.9s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 7.9s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 3.6s
    │   ╰── 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 TodoWrite call_qs12boeo                                                            45µs
    ╰── chat ollama_cloud/glm-5.3-flash                                                                 5.3s
        ╰── POST /v1/chat/completions [inference-gateway, server]                                       5.2s
            ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     5.2s
                ╰── POST /proxy/:provider/*path [inference-gateway, server]                             5.2s
                    ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 5.2s
    
    Stats
    Tool Calls
    
    ╭───────────┬───────┬───────┬─────────╮
    │ Tool      │ Calls │ Fail% │ Avg     │
    ├───────────┼───────┼───────┼─────────┤
    │ Bash      │ 25    │ 12%   │ 12264ms │
    │ Grep      │ 13    │ 0%    │ 85ms    │
    │ Read      │ 11    │ 0%    │ 0ms     │
    │ TodoWrite │ 4     │ 0%    │ 0ms     │
    │ MultiEdit │ 3     │ 0%    │ 0ms     │
    │ Write     │ 3     │ 0%    │ 0ms     │
    │ WebFetch  │ 2     │ 50%   │ 191ms   │
    │ Edit      │ 2     │ 0%    │ 0ms     │
    │ Memory    │ 2     │ 0%    │ 1369ms  │
    │ Wait      │ 1     │ 0%    │ 48501ms │
    ╰───────────┴───────┴───────┴─────────╯
    
    Token Usage
    
    ╭────────────────────────────┬─────────┬─────────┬────────────┬─────────┬──────╮
    │ Model                      │ Prompt  │ Cached  │ Completion │ Total   │ Cost │
    ├────────────────────────────┼─────────┼─────────┼────────────┼─────────┼──────┤
    │ ollama_cloud/glm-5.3-flash │ 2605409 │ 2092160 │ 28174      │ 2633583 │ -    │
    ╰────────────────────────────┴─────────┴─────────┴────────────┴─────────┴──────╯
    
    Sessions
    
    ╭───────────┬──────────┬──────────╮
    │ Execution │ Mode     │ Sessions │
    ├───────────┼──────────┼──────────┤
    │ headless  │ headless │ 1        │
    ╰───────────┴──────────┴──────────╯
    

    Triggered by edenreich · Infer Action · OSS

  6. moved this from Todo to In progress in 2026on Sep 22, 2026
  7. moved this from In progress to QA in 2026on Sep 22, 2026
  8. added a commit that references this issue on Sep 22, 2026
    d0a8fb6
  9. moved this from QA to Done in 2026on Sep 22, 2026
  10. inference-gateway-releaser commented on Sep 23, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.206.0 🎉

    The release is available on:

    Your semantic-release bot 📦🚀

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugreleased

    Type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions