Skip to content

[DOCS] Document the disk space totals reported by infer reset #694

Closed

Description

Summary

PR inference-gateway/cli#1247 (resolves inference-gateway/cli#1243) adds disk-space reporting to the reset commands, a user-visible output change:

  • infer reset now ends its preview with a Total reclaimable space: <size> line.
  • infer reset confirm now ends its result with a Total reclaimed space: <size> line, summed over the targets it actually removed.
  • Sizes are formatted like docker system prune: decimal units and 4 significant digits (for example 1.653GB, 4.096kB).

The CLI repo's own docs do not currently document infer reset anywhere (checked docs/commands-reference.md), so this is about the website/reference docs picking the behavior up.

Acceptance Criteria

  • Wherever the docs cover infer reset / infer reset confirm (commands reference, docs website), the Total reclaimable space preview line and the Total reclaimed space result line are mentioned or shown in example output.
  • Example output, if present, uses the docker-style format (decimal units, 4 significant digits).
  • The wording notes that the confirm total counts only targets that were actually removed.

Activity

  1. added
    documentation
    on Sep 18, 2026
  2. edenreich commented on Sep 18, 2026

    @edenreich
    Contributor

    @infer can you work on this? use /ponytail:ponytail

  3. moved this to Todo in 2026on Sep 18, 2026
  4. added theissue type on Sep 18, 2026
  5. inference-gateway-maintainer commented on Sep 18, 2026

    @inference-gateway-maintainer
    ContributorAuthor

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

    Todos

    • Add issue 694 to Roadmap board, Status In progress
    • Create and push fix/issue-694 branch
    • Study CLI PR 1247 output and locate reset docs in this repo
    • Document Total reclaimable/reclaimed space lines in docs
    • Run lint:md, format:check, build
    • Commit, push, open draft PR, set board QA, mark ready

    Pull Request

    #695

    ✅ Infer Result: Success

    Done. All acceptance criteria for #694 are met in PR #695 (fix/issue-694, ready for review, board status QA).

    What changed (one file, cli.md - the only place the docs site covers the reset flow; the /reset shortcut wraps the same wipe as infer reset / infer reset confirm):

    • Added one paragraph after the /reset command block in the Reset Shortcut section: the preview ends with Total reclaimable space: <size>, /reset confirm ends with Total reclaimed space: <size>; the confirm total counts only targets that were actually removed; sizes use the docker system prune format (decimal units, 4 significant digits, e.g. 1.653GB, 4.096kB); the same totals appear when running infer reset and infer reset confirm directly.
    • Extended the section's "Implemented in" note to cite cli#1247, which added the totals.

    Checks: bun run lint:md, bun run format:check, and bun run build all pass. No downstream repos affected; no separate docs ticket needed (this PR is the docs change).

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

    Tokens: 822,056 in · 7,689 out · 829,745 total (24 requests)

    Tool calls: 35 total · 100% success rate

    Traces
    Session: 1789763516-01455452
    
    session (headless, success)                                                                        2m42s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 5.4s
    │   ╰── 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 [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             5.2s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 5.2s [error: *errors.errorString]
    ├── execute_tool Read call_k8s75w8k                                                                181µs
    ├── execute_tool Bash call_gkzoout5                                                                416ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 3.7s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       3.7s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     3.7s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             3.7s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.7s [error: *errors.errorString]
    ├── execute_tool TodoWrite call_vrvb9vm8                                                            75µ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 [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             2.5s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.5s [error: *errors.errorString]
    ├── execute_tool Bash call_ztlmgfde                                                                 34ms
    ├── execute_tool Bash call_4qs67sks                                                                 1.8s
    ├── 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 [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             2.3s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.3s [error: *errors.errorString]
    ├── execute_tool Bash call_5k4jpz3l                                                                 1.5s
    ├── execute_tool Bash call_f3nqqcoj                                                                801ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 5.2s
    │   ╰── 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 [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             5.2s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 5.2s [error: *errors.errorString]
    ├── execute_tool Grep call_feif8ifx                                                                805ms
    ├── execute_tool TodoWrite call_bc1aznu9                                                            66µs
    ├── execute_tool Bash call_asrwc7jh                                                                826ms
    ├── 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 [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             4.3s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 4.3s [error: *errors.errorString]
    ├── execute_tool Grep call_gfwkfw7v                                                                877ms
    ├── execute_tool Grep call_bcts0oot                                                                877ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.6s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.6s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.6s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             1.6s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.6s [error: *errors.errorString]
    ├── execute_tool Grep call_vu99gg8s                                                                764ms
    ├── 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 [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             3.4s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.4s [error: *errors.errorString]
    ├── execute_tool Read call_7xyzdxej                                                                219µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 7.9s
    │   ╰── 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 [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             7.8s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 7.8s [error: *errors.errorString]
    ├── execute_tool Grep call_5v6nq0c9                                                                762ms
    ├── 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 [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             4.7s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 4.7s [error: *errors.errorString]
    ├── execute_tool Grep call_3sefpz9f                                                                240µs
    ├── execute_tool Grep call_rhofq7zf                                                                430µs
    ├── execute_tool Grep call_131gh1qp                                                                660µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                18.1s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      18.1s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    18.1s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            18.1s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                18.1s [error: *errors.errorString]
    ├── execute_tool Grep call_78da4tyq                                                                782ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 9.2s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       9.0s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     9.0s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             9.0s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 9.0s [error: *errors.errorString]
    ├── execute_tool MultiEdit call_3f5kybab                                                           576µ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.5s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             4.5s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 4.5s [error: *errors.errorString]
    ├── execute_tool TodoWrite call_qlu44x2q                                                            63µs
    ├── execute_tool Bash call_pimr9vgf                                                                 14ms
    ├── 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 [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             1.9s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.9s [error: *errors.errorString]
    ├── execute_tool Bash call_4erab6xx                                                                 1.0s
    ├── 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 [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             1.7s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.7s [error: *errors.errorString]
    ├── execute_tool Bash call_va2zwlon                                                                 2.8s
    ├── 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 [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             1.8s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.8s [error: *errors.errorString]
    ├── execute_tool Bash call_15lg3p2u                                                                21.6s
    ├── 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 [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             2.5s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.5s [error: *errors.errorString]
    ├── execute_tool Bash call_1gpbhb04                                                                  6ms
    ├── 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 [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             1.7s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.7s [error: *errors.errorString]
    ├── execute_tool Bash call_lm92nz14                                                                  6ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 3.7s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       3.7s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     3.7s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             3.7s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.7s [error: *errors.errorString]
    ├── execute_tool Write call_24qny8x3                                                               797µs
    ├── execute_tool Bash call_6nj9ev2l                                                                 1.6s
    ├── chat ollama_cloud/glm-5.3-flash                                                                12.0s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      12.0s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    12.0s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            12.0s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                12.0s [error: *errors.errorString]
    ├── execute_tool Bash call_12oln0ct                                                                 2.3s
    ├── 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 [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             2.3s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.3s [error: *errors.errorString]
    ├── execute_tool Bash call_h0zbf2o9                                                                600ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.5s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.5s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.5s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             1.5s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.5s [error: *errors.errorString]
    ├── execute_tool Bash call_5osmvv6a                                                                 1.1s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 5.0s
    │   ╰── 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 [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             4.7s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 4.7s [error: *errors.errorString]
    ├── execute_tool TodoWrite call_o8cj350c                                                            77µs
    ├── execute_tool Bash call_n6ro7j82                                                                  4ms
    ├── execute_tool Bash call_fdwdz1kq                                                                391ms
    ╰── 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 [error: *errors.errorString]
                ╰── POST /proxy/:provider/*path [inference-gateway, server]                            12.3s
                    ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                12.3s [error: *errors.errorString]
    
    Stats
    Tool Calls
    
    ╭───────────┬───────┬───────┬────────╮
    │ Tool      │ Calls │ Fail% │ Avg    │
    ├───────────┼───────┼───────┼────────┤
    │ Bash      │ 18    │ 0%    │ 2046ms │
    │ Grep      │ 9     │ 0%    │ 541ms  │
    │ TodoWrite │ 4     │ 0%    │ 0ms    │
    │ Read      │ 2     │ 0%    │ 0ms    │
    │ MultiEdit │ 1     │ 0%    │ 0ms    │
    │ Write     │ 1     │ 0%    │ 0ms    │
    ╰───────────┴───────┴───────┴────────╯
    
    Token Usage
    
    ╭────────────────────────────┬────────┬────────┬────────────┬────────┬──────╮
    │ Model                      │ Prompt │ Cached │ Completion │ Total  │ Cost │
    ├────────────────────────────┼────────┼────────┼────────────┼────────┼──────┤
    │ ollama_cloud/glm-5.3-flash │ 822056 │ 573440 │ 7689       │ 829745 │ -    │
    ╰────────────────────────────┴────────┴────────┴────────────┴────────┴──────╯
    
    Sessions
    
    ╭───────────┬──────────┬──────────╮
    │ Execution │ Mode     │ Sessions │
    ├───────────┼──────────┼──────────┤
    │ headless  │ headless │ 1        │
    ╰───────────┴──────────┴──────────╯
    

    Triggered by edenreich · Infer Action · OSS

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

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.14 🎉

    The release is available on GitHub release

    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

    documentationreleased

    Type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions