Skip to content

[FEATURE] Redact secrets in infer insights #1338

Description

@edenreich

Summary

infer insights sends verbatim session content to the analysis model and writes it into the report under ~/.infer/insights/, without redacting secrets:

  • digestSession keeps the first user message of each session as its intent.
  • foldFailures keeps one verbatim Sample of each tool error (FAILED TOOL CALLS (verbatim errors ...) in buildDigest).
  • Log failure groups keep a verbatim Sample line.
  • The memory index is included as-is.

A failed tool call whose error echoes a credential, such as an auth header, a token in a URL, or a .env value, or a log line that prints one, ends up in the model provider's request and in the saved report.

This matters more for insights run over collected sessions. The org's bots now save every run's conversations to a private .sessions repo, unredacted, and a weekly job runs infer insights over them. Redacting at insights time protects both the model call and the report, without redacting at every save point.

Proposed: pass the digest through a redactor before analyze, and before renderReport for the failure and log samples. Reuse the patterns infer-action already ships in src/redact.ts: the provider-secret env names, the always-on PEM private-key pattern, and GitHub token shapes. Also redact the values of those env vars when they are set in the environment.

Acceptance Criteria

  • The digest sent to the analysis model has secret values and known credential shapes replaced with a fixed placeholder: provider API keys, GitHub tokens (ghp_, gho_, ghu_, ghs_, ghr_, github_pat_), and PEM private keys.
  • The saved report under ~/.infer/insights/ is redacted the same way, including failure and log samples.
  • Values of the provider-secret env vars (the list infer-action generates in SECRET_ENV_NAMES) are redacted when present in the environment, both plain and JSON-escaped.
  • Redaction runs locally before any network call; counts and normalized error keys are unaffected.
  • A test covers buildDigest output containing a token in an error sample and asserts it is redacted.

Activity

  1. added
    enhancement
    on Sep 26, 2026
  2. moved this to Todo in 2026on Sep 26, 2026
  3. edenreich commented on Sep 26, 2026

    @edenreich
    ContributorAuthor

    @infer Can you work on this? use /ponytail:ponytail /domain-driven-design /clean-code

  4. inference-gateway-maintainer commented on Sep 26, 2026

    @inference-gateway-maintainer
    Contributor

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

    Todos

    • Add issue to Roadmap board, set In progress
    • Create working branch fix/issue-1338
    • Read insights code (insights.go, insights_logs.go, cmd/insights) and infer-action redact.ts patterns
    • Implement redaction (redactor + wire into buildDigest/renderReport)
    • Add tests: buildDigest token in error sample redacted, redactor shapes + env values
    • Run checks (fmt, vet, lint, tests), commit and push
    • Open draft PR, set board to QA, docs ticket

    Pull Request

    #1339

    ✅ Infer Result: Success

    Done. Issue #1338 is resolved in PR #1339 (ready for review, branch fix/issue-1338, commit cfaaafa).

    What changed

    • internal/insights/redact.go (new) - Go port of infer-action's src/redact.ts: the SECRET_ENV_NAMES list (GITHUB_TOKEN, the generated provider API-key block, OTEL_EXPORTER_OTLP_HEADERS, MEMORY_TOKEN, MEMORY_DEPLOY_KEY), the always-on PEM private-key block pattern, and GitHub token shapes (ghp_, gho_, ghu_, ghs_, ghr_, github_pat_). redact() also masks the values of those env vars when set in the environment, both plain and JSON-escaped (values shorter than 8 chars are skipped, matching infer-action's default). Everything is local, before any network call.
    • internal/insights/insights.go - buildDigest wraps its return in redact(...), so the payload reaching the analysis model (session intents, memory index, verbatim failure and log samples) is masked before analyze makes the model call. renderReport wraps its return in redact(...), so the saved report under ~/.infer/insights/ is redacted the same way, including failure and log samples. Counts and normalized error keys are untouched (keys are never rendered).
    • internal/insights/redact_test.go (new) - the required test drives the full collect path with a GitHub token echoed in a tool error sample and asserts it is redacted in buildDigest output with counts unchanged; plus a report-rendering test and table-driven tests for the credential shapes and env-value redaction (plain, JSON-escaped, short-value skip).

    Placeholder is the fixed [redacted] - markdown-safe, and consistent with the browser tool's existing redaction convention (infer-action's *** would render as a markdown rule in the report).

    Acceptance criteria

    • Digest sent to the model has provider API keys (via set env values), GitHub token shapes, and PEM private keys replaced with a fixed placeholder - done, masked in buildDigest.
    • Saved report redacted the same way, including failure and log samples - done, masked in renderReport.
    • Provider-secret env values redacted plain and JSON-escaped - done.
    • Redaction runs locally before any network call; counts and normalized error keys unaffected - done (redaction happens at render; keys never leave the process).
    • Test covering buildDigest output containing a token in an error sample - done (TestBuildDigestRedactsSecrets).

    Tracking

    Verification

    • go test ./internal/insights/ and the full task test suite pass.
    • task precommit:run passes (mod:tidy, mocks, fmt, golangci-lint 0 issues, markdownlint).
    • Clean tree, branch in sync with origin, PR marked ready for review.

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

    Tokens: 2,689,943 in · 29,164 out · 2,719,107 total (34 requests)

    Tool calls: 51 total · 100% success rate

    Traces
    Session: 1790438469-96857eb0
    
    session (headless, success)                                                                        7m33s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 5.7s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.9s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.9s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             2.9s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.9s
    ├── execute_tool Read call_i60tleuf                                                                264µs
    ├── execute_tool Read call_h7224a32                                                                268µs
    ├── execute_tool Read call_y2n1bt05                                                                239µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 3.1s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       3.1s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     3.0s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             3.0s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.0s
    ├── execute_tool TodoWrite call_mviscbt0                                                            73µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.8s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.7s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.7s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             1.7s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.7s
    ├── execute_tool Bash call_pxdvz3nf                                                                421ms
    ├── execute_tool Bash call_jdypja1p                                                                  5ms
    ├── 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
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             1.5s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.5s
    ├── execute_tool Bash call_5my2rdmt                                                                 1.5s
    ├── execute_tool Bash call_vr950xm7                                                                  9ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.7s
    │   ╰── 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
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             1.6s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.6s
    ├── execute_tool Bash call_z3km45n5                                                                577ms
    ├── execute_tool Bash call_frhasfgd                                                                 1.5s
    ├── 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
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             1.6s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.6s
    ├── execute_tool Read call_lo2dactu                                                                322µs
    ├── execute_tool Read call_dfmra1fu                                                                205µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                26.5s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      26.4s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    26.4s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            26.4s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                26.4s
    ├── execute_tool Grep call_fwyirw2c                                                                215ms
    ├── execute_tool Read call_1zq0ieer                                                                174µs
    ├── execute_tool WebFetch call_81ebju7j                                                            125ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.4s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.4s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.4s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             2.4s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.4s
    ├── execute_tool Grep call_884e3zt6                                                                207ms
    ├── execute_tool WebFetch call_ai3hymns                                                             19ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.9s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.9s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.9s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             2.9s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.9s
    ├── execute_tool Read call_lfxmoobw                                                                219µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                23.0s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      23.0s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    23.0s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            23.0s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                23.0s
    ├── execute_tool Grep call_k6bb7l8f                                                                 12ms
    ├── execute_tool Read call_nlijlgaq                                                                278µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                28.8s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      28.8s
    │       ╰── 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 TodoWrite call_yt17ekyl                                                            74µ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.1s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             5.1s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 5.1s
    ├── execute_tool Write call_gt77k9h2                                                               740µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.7s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.6s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.6s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             2.6s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.6s
    ├── execute_tool MultiEdit call_4jffw5ip                                                           761µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                10.7s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      10.6s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    10.6s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                            10.6s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                10.6s
    ├── execute_tool Write call_ad7hgxof                                                               873µs
    ├── 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 /proxy/:provider/*path [inference-gateway, server]                             2.0s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.0s
    ├── execute_tool Bash call_d25puq64                                                                56.0s
    ├── 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 Memory call_512iorb0                                                               1.4s
    ├── execute_tool Bash call_hqifvc13                                                                2m34s
    ├── 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 /proxy/:provider/*path [inference-gateway, server]                             2.0s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.0s
    ├── execute_tool Bash call_m3ysmsq8                                                                36.4s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.5s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.5s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.5s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             2.5s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.5s
    ├── execute_tool Bash call_dib4och3                                                                  9ms
    ├── execute_tool Bash call_3qi4x1te                                                                  6ms
    ├── 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_2ryk8u9e                                                                189µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.9s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.9s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.8s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             2.8s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.8s
    ├── execute_tool Bash call_svd2j4cx                                                                 11ms
    ├── 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 /proxy/:provider/*path [inference-gateway, server]                             2.0s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.0s
    ├── execute_tool Bash call_9tskhn0y                                                                 5.8s
    ├── 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.6s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             4.6s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 4.6s
    ├── execute_tool Bash call_28egpc5g                                                                 1.4s
    ├── execute_tool Write call_vvhsfs3z                                                               785µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 3.2s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       3.2s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     3.1s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             3.1s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.1s
    ├── execute_tool Bash call_m99pyzgc                                                                 1.6s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 3.2s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       3.2s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     3.2s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             3.2s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.2s
    ├── execute_tool Bash call_pjcaamb4                                                                793ms
    ├── execute_tool WebFetch call_4coyuuns                                                            159ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 3.2s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       3.2s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     3.1s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             3.1s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.1s
    ├── execute_tool Grep call_jzs0uf9n                                                                  4ms
    ├── 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 Write call_wmlalv3m                                                               753µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.2s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.2s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.2s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             2.2s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.2s
    ├── execute_tool Bash call_g5w8oc51                                                                 1.0s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.9s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.9s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.8s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             2.8s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.8s
    ├── execute_tool Edit call_3r50bzq0                                                                491µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 3.2s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       3.2s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     3.1s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             3.1s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.1s
    ├── execute_tool Bash call_3yjnrqw3                                                                 1.3s
    ├── execute_tool Memory call_4ue51lj7                                                               1.2s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.7s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.7s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.6s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             2.6s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.6s
    ├── execute_tool TodoWrite call_l01r04rm                                                            78µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.4s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.3s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.3s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             2.3s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.3s
    ├── execute_tool Bash call_rzrf1r46                                                                 10ms
    ├── execute_tool Bash call_dg6w6sva                                                                 10ms
    ├── execute_tool Bash call_leackphp                                                                351ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.4s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.3s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.3s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             2.3s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.3s
    ├── execute_tool Bash call_yb9unlqi                                                                913ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 3.1s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       3.1s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     3.0s
    │           ╰── POST /proxy/:provider/*path [inference-gateway, server]                             3.0s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.0s
    ├── execute_tool TodoWrite call_yq6pmkcn                                                            88µs
    ╰── chat ollama_cloud/glm-5.3-flash                                                                 5.0s
        ╰── POST /v1/chat/completions [inference-gateway, server]                                       4.9s
            ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     4.9s
                ╰── POST /proxy/:provider/*path [inference-gateway, server]                             4.9s
                    ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 4.9s
    
    Stats
    Tool Calls
    
    ╭───────────┬───────┬───────┬─────────╮
    │ Tool      │ Calls │ Fail% │ Avg     │
    ├───────────┼───────┼───────┼─────────┤
    │ Bash      │ 22    │ 0%    │ 11979ms │
    │ Read      │ 9     │ 0%    │ 239µs   │
    │ TodoWrite │ 4     │ 0%    │ 70µs    │
    │ Grep      │ 4     │ 0%    │ 110ms   │
    │ Write     │ 4     │ 0%    │ 783µs   │
    │ WebFetch  │ 3     │ 0%    │ 101ms   │
    │ Memory    │ 2     │ 0%    │ 1295ms  │
    │ Edit      │ 1     │ 0%    │ 468µs   │
    │ MultiEdit │ 1     │ 0%    │ 756µs   │
    ╰───────────┴───────┴───────┴─────────╯
    
    Token Usage
    
    ╭────────────────────────────┬─────────┬─────────┬────────────┬─────────┬──────╮
    │ Model                      │ Prompt  │ Cached  │ Completion │ Total   │ Cost │
    ├────────────────────────────┼─────────┼─────────┼────────────┼─────────┼──────┤
    │ ollama_cloud/glm-5.3-flash │ 2689943 │ 2213120 │ 29164      │ 2719107 │ -    │
    ╰────────────────────────────┴─────────┴─────────┴────────────┴─────────┴──────╯
    
    Sessions
    
    ╭───────────┬──────────┬──────────╮
    │ Execution │ Mode     │ Sessions │
    ├───────────┼──────────┼──────────┤
    │ headless  │ headless │ 1        │
    ╰───────────┴──────────┴──────────╯
    

    Triggered by edenreich · Infer Action · OSS

  5. inference-gateway-releaser commented on Sep 26, 2026

    @inference-gateway-releaser
    Contributor

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

    enhancementreleased

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions