Skip to content

docs(cli): document compact.strategy pointer compaction mode - #1036

Merged
edenreich merged 2 commits into
mainfrom
fix/issue-1035
Oct 28, 2026
Merged

edenreich merged 2 commits into
mainfrom
fix/issue-1035

Conversation

@inference-gateway-maintainer

@inference-gateway-maintainer inference-gateway-maintainer Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Resolves #1035

Summary

Documents the CLI's opt-in compact.strategy compaction setting (inference-gateway/cli#1629) on the docs site. A new Compaction section in cli.md covers the full compact.* block including compact.strategy (default summary) and the INFER_COMPACT_STRATEGY env var, and explains pointer mode: a compaction (manual /compact, the auto_at token trigger or the idle trigger) skips the summarizer LLM call and seeds the continued session with one message that names the previous session id, which the model reads back with infer conversations show <id>.

Changes

  • Added a ### Compaction section to the Configuration area of the CLI page: a YAML block for all compact.* settings with defaults and env vars, the checkpoint format under the default summary strategy, and the pointer strategy with its exact message shape plus when to pick each strategy (self-contained summary vs lossless on-demand retrieval on durable storage). Also covers the unknown-value fallback to summary and the no-session-id safe skip.
  • Cross-linked the headless "Session rollover" bullet and the Conversation Features "Token optimization and compaction" bullet to the new section.
  • Documented the newly added infer conversations show flags in the Conversation Management section: the default first-10-entry window, --grep <substring>, --no-trunc, and --append (-a), with grep and append examples. --format json was corrected to one pretty-printed object with metadata and entries (plus a truncated flag when windowed) instead of the outdated NDJSON description.

Checks: bun run lint:md, bun run format:check and bun run build all pass.

Note: CLI PR 1629 has since merged, and this PR now documents the show flags as landed on the CLI's main branch. No docs ticket: this is the docs change itself, no other repos affected.

@inference-gateway-releaser

inference-gateway-releaser Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

🗑️ Preview environment destroyed.

@edenreich

Copy link
Copy Markdown
Contributor

@infer can you add the missing flags that were just added --append and --no-trunc? and --all. Please document these

@inference-gateway-maintainer

inference-gateway-maintainer Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor Author

Model: ollama_cloud/glm-5.3-flash · Action: v0.59.1 · CLI: v0.237.0 · Gateway: v0.60.1 · View Job

Todos

  • Find the flags --append, --no-trunc, --all in the upstream CLI repo
  • Read current cli.md sections affected
  • Document the flags in cli.md
  • Run lint:md, format:check, build and commit+push

Pull Request

#1036

✅ Infer Result: Success

Done - pushed as d6f3d96 on fix/issue-1035, bun run lint:md, format:check and build all pass, and PR 1036's description is updated.

On --all: I verified against the CLI repo's live main (cmd/conversations/conversations.go and the full flag registrations) and there is no --all flag on any command - you may be thinking of -a, the shorthand of --append. The flags that were just added all belong to infer conversations show, and those are what I documented.

What changed in cli.md (Conversation Management section):

  • The show <session-id> subcommand bullet now states the new default: only the first 10 entries are printed (shorter sessions are never windowed).
  • The show flags list gained the three new flags from the windowing change: --grep <substring> (case-insensitive entry filter), --no-trunc (print every entry instead of the default first-10 window), and --append, -a (print the entries after the window so a long session reads in chunks; --no-trunc wins when both are passed).
  • The examples block gained --grep "undefined symbol" and --append examples.
  • Fixed the --format text|json bullet, which had drifted: show --format json now emits one pretty-printed object with metadata and entries (plus a truncated flag when the output was windowed), not per-entry NDJSON. The two # One JSON object per line example comments were corrected to match.
  • Also documented --grep alongside your two: it shipped in the same change to show, and leaving it out would have left the flag list incomplete again.

One thing I deliberately skipped: infer skills search has its own separate --no-trunc (prints full catalog descriptions instead of truncating to 80 cols). It is not documented on the docs site because cli-skills.md has no section covering skills search flags at all - flag it if you want that section built out. Risk to know: cli.md's compaction section says the model reads pointer sessions back with conversations show <id> - on very long pointed-to sessions the model now sees 10 entries plus the output footer, which self-explains --append/--no-trunc, so I did not reword that section.

Model: ollama_cloud/glm-5.3-flash · Action: v0.59.1 · CLI: v0.237.0 · Gateway: v0.60.1 · Exit Code: 0 · Duration: 5m 58s

Tokens: 3,266,450 in · 31,998 out · 3,298,448 total (42 requests)

Tool calls: 58 total · 100% success rate

Traces
Session: 1793210462-aa9b4cc3

session (headless, success)                                                                        5m50s
├── 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.6s
│           ╰── POST [inference-gateway, server]                                                    3.6s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.6s
├── execute_tool TodoWrite call_0p4hhskn                                                            82µs
├── execute_tool Grep call_5fl65fwb                                                                  3ms
├── chat ollama_cloud/glm-5.3-flash                                                                 2.4s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.4s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.4s
│           ╰── POST [inference-gateway, server]                                                    2.4s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.4s
├── execute_tool Bash call_vc7dldn2                                                                675ms
├── execute_tool Bash call_up5y4zwo                                                                766ms
├── chat ollama_cloud/glm-5.3-flash                                                                 1.3s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.3s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.3s
│           ╰── POST [inference-gateway, server]                                                    1.3s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.3s
├── execute_tool Bash call_qdttqxxp                                                                536ms
├── execute_tool Bash call_glnz7sc2                                                                529ms
├── chat ollama_cloud/glm-5.3-flash                                                                 2.0s
│   ╰── 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 [inference-gateway, server]                                                    2.0s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.0s
├── execute_tool Bash call_vnfpv5ts                                                                641ms
├── execute_tool Bash call_fx52x79k                                                                541ms
├── 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
├── 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.2s
│           ╰── POST [inference-gateway, server]                                                    4.2s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 4.2s
├── execute_tool Bash call_722r66ef                                                                286ms
├── 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 [inference-gateway, server]                                                    4.3s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 4.3s
├── execute_tool Bash call_kj17d2db                                                                829ms
├── execute_tool Bash call_np4st2xi                                                                763ms
├── 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 [inference-gateway, server]                                                    3.0s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.0s
├── chat ollama_cloud/glm-5.3-flash                                                                 1.4s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.4s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.4s
│           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        1.4s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.4s
├── execute_tool Bash call_penuixxb                                                                 43ms [error: tool_error]
├── chat ollama_cloud/glm-5.3-flash                                                                 7.5s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                       7.5s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     7.5s
│           ╰── POST [inference-gateway, server]                                                    7.5s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 7.5s
├── execute_tool Bash call_xcrf1rrg                                                                296ms [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 [inference-gateway, server]                                                    2.1s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.1s
├── execute_tool Bash call_qnfba0gg                                                                471ms
├── execute_tool Bash call_kh6m606z                                                                395ms
├── chat ollama_cloud/glm-5.3-flash                                                                 8.2s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                       8.2s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     8.2s
│           ╰── POST [inference-gateway, server]                                                    8.2s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 8.2s
├── execute_tool Bash call_b4gv1zi9                                                                227ms
├── execute_tool Bash call_enn0i00g                                                                561ms
├── chat ollama_cloud/glm-5.3-flash                                                                 5.1s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                       5.1s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     5.1s
│           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        5.1s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 5.1s
├── execute_tool Bash call_lphigujn                                                                251ms
├── 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 [inference-gateway, server]                                                    4.7s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 4.7s
├── execute_tool Grep call_8ioby74g                                                                  2ms
├── execute_tool Grep call_fv1nipjf                                                                 6.7s
├── 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 [inference-gateway, server]                                                    5.0s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 5.0s
├── execute_tool Bash call_2dq74yvo                                                                 41ms [error: tool_error]
├── execute_tool Bash call_1evucmnz                                                                625ms
├── chat ollama_cloud/glm-5.3-flash                                                                 5.3s
│   ╰── 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 [inference-gateway, server]                                                    5.3s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 5.3s
├── execute_tool Bash call_ylgvyhag                                                                670ms
├── execute_tool Bash call_e3petqgy                                                                549ms
├── chat ollama_cloud/glm-5.3-flash                                                                 2.4s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.4s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.3s
│           ╰── POST [inference-gateway, server]                                                    2.3s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.3s
├── execute_tool Bash call_wkwkwi0d                                                                185ms
├── 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.2s
│           ╰── POST [inference-gateway, server]                                                    4.2s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 4.2s
├── execute_tool Bash call_k70fkvpg                                                                248ms
├── chat ollama_cloud/glm-5.3-flash                                                                 9.5s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                       9.5s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     9.5s
│           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        9.5s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 9.5s
├── execute_tool Grep call_ul2g1q87                                                                 20ms
├── execute_tool Bash call_32ra601v                                                                465ms
├── chat ollama_cloud/glm-5.3-flash                                                                 8.6s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                       8.6s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     8.6s
│           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        8.6s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 8.6s
├── execute_tool Bash call_k07wfxra                                                                226ms
├── chat ollama_cloud/glm-5.3-flash                                                                14.2s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                      14.2s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    14.2s
│           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                       14.2s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                14.2s
├── execute_tool Bash call_etqebnb3                                                                421ms
├── execute_tool Read call_2t80a545                                                                819µs
├── 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 Bash call_uvzltp63                                                                944ms
├── execute_tool Bash call_x97mimim                                                                295ms
├── chat ollama_cloud/glm-5.3-flash                                                                42.7s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                      42.7s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    42.7s
│           ╰── POST [inference-gateway, server]                                                   42.7s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                42.7s
├── execute_tool Grep call_7e52gd7h                                                                  2ms
├── execute_tool Grep call_hwkvheou                                                                 14ms
├── chat ollama_cloud/glm-5.3-flash                                                                24.5s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                      24.5s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    24.4s
│           ╰── POST [inference-gateway, server]                                                   24.4s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                24.4s
├── execute_tool Grep call_7ct628fk                                                                 18ms
├── execute_tool Grep call_dugiw7bu                                                                  2ms
├── chat ollama_cloud/glm-5.3-flash                                                                28.2s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                      28.2s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    28.2s
│           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                       28.2s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                28.2s
├── execute_tool Grep call_57dmt8vb                                                                  3ms
├── 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 [inference-gateway, server]                                                    3.5s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.5s
├── execute_tool Grep call_y35887n3                                                                  1ms
├── chat ollama_cloud/glm-5.3-flash                                                                21.8s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                      21.7s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    21.7s
│           ╰── POST [inference-gateway, server]                                                   21.7s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                21.7s
├── execute_tool TodoWrite call_97opj5le                                                            55µs
├── execute_tool MultiEdit call_opwd47bi                                                             3ms
├── chat ollama_cloud/glm-5.3-flash                                                                 1.3s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.3s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.3s
│           ╰── POST [inference-gateway, server]                                                    1.3s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.3s
├── execute_tool Read call_mhnowcgg                                                                817µs
├── chat ollama_cloud/glm-5.3-flash                                                                 1.8s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.8s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.8s
│           ╰── POST [inference-gateway, server]                                                    1.8s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.8s
├── execute_tool Bash call_fvtli1rz                                                                 2.1s
├── chat ollama_cloud/glm-5.3-flash                                                                894ms
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                      856ms
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    835ms
│           ╰── POST [inference-gateway, server]                                                   835ms
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                834ms
├── execute_tool Bash call_lo1jo35d                                                                 5.1s
├── chat ollama_cloud/glm-5.3-flash                                                                 1.3s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.3s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.3s
│           ╰── POST [inference-gateway, server]                                                    1.3s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.3s
├── execute_tool Bash call_dtim54dq                                                                  2ms
├── chat ollama_cloud/glm-5.3-flash                                                                970ms
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                      930ms
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    907ms
│           ╰── POST [inference-gateway, server]                                                   907ms
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                907ms
├── execute_tool Wait call_v0xbkudq                                                                32.5s
├── chat ollama_cloud/glm-5.3-flash                                                                842ms
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                      810ms
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    795ms
│           ╰── POST [inference-gateway, server]                                                   795ms
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                795ms
├── execute_tool Bash call_vra5emyc                                                                  8ms
├── chat ollama_cloud/glm-5.3-flash                                                                14.8s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                      14.8s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    14.8s
│           ╰── POST [inference-gateway, server]                                                   14.8s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                14.8s
├── execute_tool Bash call_51gu83pz                                                                 11ms
├── 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 [inference-gateway, server]                                                    1.4s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.4s
├── execute_tool Bash call_zj0s97i9                                                                 10ms
├── chat ollama_cloud/glm-5.3-flash                                                                 1.3s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.3s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.3s
│           ╰── POST [inference-gateway, server]                                                    1.3s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.3s
├── execute_tool Bash call_13di9h8h                                                                 1.9s
├── 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 [inference-gateway, server]                                                    2.1s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.1s
├── execute_tool Bash call_1ehzvdn1                                                                263ms
├── chat ollama_cloud/glm-5.3-flash                                                                13.4s
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                      13.3s
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    13.3s
│           ╰── POST [inference-gateway, server]                                                   13.3s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                13.3s
├── execute_tool Write call_soxlp7l4                                                                 1ms
├── chat ollama_cloud/glm-5.3-flash                                                                982ms
│   ╰── POST /v1/chat/completions [inference-gateway, server]                                      951ms
│       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    936ms
│           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                       936ms
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                936ms
├── execute_tool Bash call_awp121qr                                                                 2.3s
├── 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 [inference-gateway, server]                                                    3.8s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.8s
├── execute_tool Bash call_irdfxlvh                                                                  5ms
├── execute_tool Memory call_owjkt3r8                                                               1.3s
├── chat ollama_cloud/glm-5.3-flash                                                                 3.4s
│   ╰── 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 [inference-gateway, server]                                                    3.4s
│               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.4s
├── execute_tool TodoWrite call_e7be6o9x                                                            53µs
╰── chat ollama_cloud/glm-5.3-flash                                                                 5.1s
    ╰── POST /v1/chat/completions [inference-gateway, server]                                       5.1s
        ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     5.0s
            ╰── POST [inference-gateway, server]                                                    5.0s
                ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 5.0s
Stats
Tool Calls

╭───────────┬───────┬───────┬─────────╮
│ Tool      │ Calls │ Fail% │ Avg     │
├───────────┼───────┼───────┼─────────┤
│ Bash      │ 37    │ 8%    │ 653ms   │
│ Grep      │ 10    │ 0%    │ 681ms   │
│ TodoWrite │ 3     │ 0%    │ 59µs    │
│ Read      │ 2     │ 0%    │ 761µs   │
│ Memory    │ 1     │ 0%    │ 1339ms  │
│ MultiEdit │ 1     │ 0%    │ 3ms     │
│ Wait      │ 1     │ 0%    │ 32501ms │
│ Write     │ 1     │ 0%    │ 1ms     │
╰───────────┴───────┴───────┴─────────╯

Token Usage

╭────────────────────────────┬─────────┬─────────┬────────────┬─────────┬──────╮
│ Model                      │ Prompt  │ Cached  │ Completion │ Total   │ Cost │
├────────────────────────────┼─────────┼─────────┼────────────┼─────────┼──────┤
│ ollama_cloud/glm-5.3-flash │ 3266450 │ 2764160 │ 31998      │ 3298448 │ -    │
╰────────────────────────────┴─────────┴─────────┴────────────┴─────────┴──────╯

Sessions

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

Triggered by edenreich · Infer Action · OSS

The default first-10-entry window, --grep, --no-trunc and --append (-a) join the show flags list, with grep and append examples, and --format json is corrected to one pretty-printed object with metadata and entries instead of NDJSON.
@edenreich
edenreich merged commit a3a92a3 into main Oct 28, 2026
1 check passed
@edenreich
edenreich deleted the fix/issue-1035 branch October 28, 2026 18:30
inference-gateway-releaser Bot added a commit that referenced this pull request Oct 31, 2026
## [0.9.23](0.9.22...0.9.23) (2026-10-31)

### 👷 CI

* **release:** label issues and PRs shipped in an rc with rc ([#1044](#1044)) ([b0c47d8](b0c47d8))

### 📚 Documentation

* **adk:** frame rust/ts artifact storage as s3-compatible ([#1050](#1050)) ([4b582a6](4b582a6))
* **adk:** s3 artifact provider with RustFS example ([#1046](#1046)) ([c729c4b](c729c4b))
* BashOutput and ListShells need no approval ([#1032](#1032)) ([0b4f3c0](0b4f3c0))
* **cli:** away exit and stop cleanup after a teleport home ([#1053](#1053)) ([36dd83b](36dd83b))
* **cli:** channels configurable tool result cap ([#1043](#1043)) ([a6d20cf](a6d20cf))
* **cli:** document compact.strategy pointer compaction mode ([#1036](#1036)) ([a3a92a3](a3a92a3))
* **cli:** kubernetes workspace gateway modes and gateway_env ([#1054](#1054)) ([cb89aa1](cb89aa1))
* **cli:** panel search accepts multibyte input ([#1041](#1041)) ([a030902](a030902))
* **cli:** tools validate exit code, status formats, env list ([#1039](#1039)) ([e3ddb20](e3ddb20))
* document the gateway segment in the run identity line ([#1028](#1028)) ([a016726](a016726))
* document the plan-mode scratchpad ([#1023](#1023)) ([c44f1c9](c44f1c9))
* document the Rust read-only library carve-out ([#1034](#1034)) ([efc6f56](efc6f56))
* document the wall-clock time budget ([#1022](#1022)) ([dc56278](dc56278))
* **operator:** orchestrator gateway ref and gateway parking ([#1058](#1058)) ([70e1bb2](70e1bb2))
* **operator:** orchestrator image entrypoint contract ([#1049](#1049)) ([e2048dc](e2048dc))
* **operator:** status.url port and spec.server defaults ([#1057](#1057)) ([6970d29](6970d29))
* read attaches image files for vision models ([#1025](#1025)) ([2605223](2605223))
* restore the WebWright provider (re-added upstream) ([#1026](#1026)) ([6242edb](6242edb))

### 🔧 Miscellaneous

* **deps:** bump claude-code 2.1.289 -> 2.1.296 ([#1017](#1017)) ([2d5d9da](2d5d9da))
* **deps:** bump claude-code 2.1.296 -> 2.1.308 ([#1030](#1030)) ([3ec88a2](3ec88a2))
* **deps:** bump infer CLI v0.226.0 -> v0.231.1 ([#1018](#1018)) ([d5b1c02](d5b1c02))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.9.23 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Labels

released Shipped in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOCS] Document compact.strategy pointer compaction mode

1 participant