Skip to content

[TASK] Refactor filter the model list to chat-capable models and drop the default exclude list #1127

Closed

Description

@edenreich

Summary

The model list should show only models that can actually serve
/chat/completions, filtered from the modalities the gateway already reports,
so the hand-maintained gateway.exclude_models default list can be dropped.

The mechanism already exists, it is just too narrow

internal/conversation/model.go:47 already asks the gateway for modalities:

resp, err := s.client.ListModels(ctx,
    sdk.ListModelsParamsIncludeContextWindow,
    sdk.ListModelsParamsIncludePricing,
    sdk.ListModelsParamsIncludeModalities)

and already filters on them at internal/conversation/model.go:60-64, but with a
single special case:

if models.IsImageGenModalities(*model.Modalities) {
    continue
}

IsImageGenModalities (internal/platform/models/context.go:50-53) is
output contains image && !output contains text - it drops image-generation
models specifically. Every other non-chat modality shape (speech-to-text,
text-to-speech, embeddings, video) still reaches the picker. Generalizing that
one predicate to "chat-capable" - text in input, text in output - covers all
of them with the data we are already fetching.

What that lets us delete

gateway.exclude_models defaults (config/config.go:937-945) are two different
things wearing one hat:

Mechanically detectable from modalities - a chat-capability filter subsumes these
outright:

  • groq/whisper-large-v3, groq/whisper-large-v3-turbo (speech-to-text: audio in, text out)
  • groq/playai-tts, groq/playai-tts-arabic (text-to-speech: text in, audio out)

Not modality-related at all - these are chat models excluded for size and cost:

  • ollama_cloud/cogito-2.1:671b, ollama_cloud/kimi-k2:1t,
    ollama_cloud/kimi-k2-thinking, ollama_cloud/deepseek-v3.1:671b

So the filter removes the need for the first four on correctness grounds. The
second four are a shipped opinion about which chat models are worth listing,
which is a per-user preference rather than a default - the proposal is to empty
the default list entirely and leave exclude_models as a user-configured knob,
not to reimplement the size/cost judgement in code.

Worth noting the two mechanisms are not even in the same place today:
exclude_models is applied gateway-side, joined into DISALLOWED_MODELS when
the container starts (internal/gateway/manager.go:451-453 and :863), while
the modality filter is client-side in the CLI. Collapsing the modality half into
the client-side filter leaves one place to reason about.

Care needed

Models whose modalities the gateway does not report currently fall through the
if model.Modalities != nil guard and are kept. That behaviour must not change:
a strict filter that drops unknown-modality models would silently empty the
picker for any provider that does not populate the field. Unknown stays visible.

Acceptance Criteria

  • A chat-capability predicate lives alongside IsImageGenModalities in internal/platform/models/context.go and is unit tested against the shapes that matter: text->text, image+text->text (vision), text->image, audio->text, text->audio, and empty/unknown.
  • HTTPModelService.ListModels filters with it instead of the image-generation special case.
  • Models with absent or empty modalities remain listed, and there is a test pinning that.
  • The gateway.exclude_models default is an empty list; the key stays supported for user configuration.
  • Verified against a live gateway that the four groq speech models drop out of the picker on modalities alone, with the default list empty.
  • Docs mention that the picker shows chat-capable models and that exclude_models is opt-in.

Activity

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

    @edenreich
    ContributorAuthor

    @infer Can you work on this? use /ponytail:ponytail /go /go-concurrency /cobra-viper

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

    @inference-gateway-maintainer
    Contributor

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

    Todos

    Pull Request

    #1132

    ✅ Infer Result: Success

    Done. Issue #1127 is implemented, tested, and shipped as PR #1132 (open, ready for review, board item moved In progress \u2192 QA).

    What changed

    Chat-capability filter (client-side, one place to reason about)

    • internal/platform/models/context.go: added IsChatCapableModalities alongside IsImageGenModalities - true only when the modality set has text in input and text in output. Unit tested (table-driven, TestIsChatCapableModalities) against text\u2192text, image+text\u2192text (vision), text\u2192image, audio\u2192text, text\u2192audio, and empty/unknown shapes.
    • internal/conversation/model.go: HTTPModelService.ListModels filters with the new predicate instead of the image-generation special case. Added HasReportedModalities so models whose modalities are absent or empty (nothing reported) stay listed - the test run caught that a naive filter dropped empty reports, which the issue explicitly forbids; TestHTTPModelService_ListModelsKeepsUnknownModalities now pins it.

    Default exclude list dropped

    • config/config.go: gateway.exclude_models default is now []string{}. The four groq speech/TTS entries are subsumed by the filter on correctness grounds; the four ollama_cloud size/cost exclusions become a per-user knob. The key remains fully supported (still joined into DISALLOWED_MODELS at gateway start; no manager change needed).

    Tests - TestIsChatCapableModalities (predicate shapes), TestHTTPModelService_ListModelsFiltersNonChatModels (returns a fake client with the exact groq whisper/TTS modality shapes; they drop out), TestHTTPModelService_ListModelsKeepsUnknownModalities (nil and empty modalities stay listed). go test on the three touched packages, go vet, task build, and the full pre-commit suite (golangci-lint 0 issues, markdownlint) all pass.

    Docs - docs/configuration-reference.md: default config no longer shows a shipped exclude list, and gateway.exclude_models is documented as opt-in with the picker keeping only chat-capable models. Follow-up doc-hub ticket: inference-gateway/docs#606.

    Notes for review

    • The acceptance criterion "verified against a live gateway" could not run in this CI sandbox (no Docker); the equivalent is pinned by the fake-client test that returns the groq speech/TTS modalities exactly as the gateway reports them - they drop out on modalities alone with the default list empty. A real-gateway spot check remains part of QA.
    • Behavior change to be aware of: the four ollama_cloud large chat models now appear in the picker (by design - size/cost exclusion is a user choice, re-addable via exclude_models).

    PR: #1132 (commits 2e7ba4b fix + 25c2f6a docs).

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

    Tokens: 6,358,823 in · 29,970 out · 6,388,793 total (48 requests)

    Tool calls: 79 total · 100% success rate

    Traces
    Session: 1788122544-7f5e2f58
    
    session (headless, success)                                                  9m36s
    ├── chat ollama_cloud/glm-5.3-flash                                           5.7s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         5.7s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     5.7s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               5.7s
    │               ╰── POST /v1/chat/completions [inference-gateway]             5.7s [error: *errors.errorString]
    ├── execute_tool TodoWrite call_fhaaip0h                                      96µs
    ├── chat ollama_cloud/glm-5.3-flash                                           2.1s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         2.1s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     2.1s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               2.1s
    │               ╰── POST /v1/chat/completions [inference-gateway]             2.1s [error: *errors.errorString]
    ├── execute_tool Memory call_1w8hp45i                                        149µs
    ├── execute_tool Memory call_80q3hl1m                                        235µs
    ├── execute_tool Memory call_q3w60zsv                                        154µs
    ├── execute_tool Bash call_8a2f4lsq                                            4ms
    ├── chat ollama_cloud/glm-5.3-flash                                           4.4s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         4.4s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     4.4s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               4.4s
    │               ╰── POST /v1/chat/completions [inference-gateway]             4.4s [error: *errors.errorString]
    ├── execute_tool Bash call_d1ky6pfu                                          336ms
    ├── execute_tool Bash call_a3mw78nu                                           10ms
    ├── chat ollama_cloud/glm-5.3-flash                                           1.5s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         1.4s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     1.4s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               1.4s
    │               ╰── POST /v1/chat/completions [inference-gateway]             1.4s [error: *errors.errorString]
    ├── execute_tool Bash call_u75fycvr                                           1.0s
    ├── chat ollama_cloud/glm-5.3-flash                                           2.0s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         1.9s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     1.9s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               1.9s
    │               ╰── POST /v1/chat/completions [inference-gateway]             1.9s [error: *errors.errorString]
    ├── execute_tool Read call_gjppa4ut                                          201µs
    ├── execute_tool Bash call_t8rtacsa                                          456ms
    ├── chat ollama_cloud/glm-5.3-flash                                           3.4s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         3.4s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     3.4s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               3.4s
    │               ╰── POST /v1/chat/completions [inference-gateway]             3.4s [error: *errors.errorString]
    ├── execute_tool Read call_f1xolxc8                                          508µs
    ├── execute_tool Read call_i0lfm5ja                                          432µs
    ├── execute_tool Read call_uuiayffj                                          365µs
    ├── chat ollama_cloud/glm-5.3-flash                                           4.3s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         4.3s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     4.3s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               4.3s
    │               ╰── POST /v1/chat/completions [inference-gateway]             4.3s [error: *errors.errorString]
    ├── execute_tool Grep call_dawm2d55                                          116ms
    ├── execute_tool Grep call_9qpihips                                          352ms
    ├── chat ollama_cloud/glm-5.3-flash                                           3.4s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         3.4s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     3.4s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               3.4s
    │               ╰── POST /v1/chat/completions [inference-gateway]             3.4s [error: *errors.errorString]
    ├── execute_tool Read call_0mobejvx                                          227µs
    ├── execute_tool Bash call_i1rjsg7r                                            4ms
    ├── chat ollama_cloud/glm-5.3-flash                                           4.2s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         4.2s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     4.2s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               4.2s
    │               ╰── POST /v1/chat/completions [inference-gateway]             4.2s [error: *errors.errorString]
    ├── execute_tool Read call_zoi3d1lp                                          171µs
    ├── execute_tool Read call_sgw1gkwm                                          163µs
    ├── chat ollama_cloud/glm-5.3-flash                                          11.0s
    │   ╰── POST /v1/chat/completions [inference-gateway]                        11.0s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]    11.0s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]              11.0s
    │               ╰── POST /v1/chat/completions [inference-gateway]            11.0s [error: *errors.errorString]
    ├── execute_tool Read call_70fku57k                                          291µs
    ├── execute_tool Read call_h28v78rw                                          205µs
    ├── execute_tool Bash call_89b8n5xu                                            6ms
    ├── chat ollama_cloud/glm-5.3-flash                                           2.2s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         2.2s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     2.2s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               2.2s
    │               ╰── POST /v1/chat/completions [inference-gateway]             2.2s [error: *errors.errorString]
    ├── execute_tool Grep call_s6sbwyc1                                           36ms
    ├── execute_tool Grep call_mdt8mwi5                                            1ms
    ├── chat ollama_cloud/glm-5.3-flash                                           3.6s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         3.5s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     3.5s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               3.5s
    │               ╰── POST /v1/chat/completions [inference-gateway]             3.5s [error: *errors.errorString]
    ├── execute_tool Read call_cpl7s4s9                                          216µs
    ├── execute_tool Read call_biqxtem7                                          281µs
    ├── chat ollama_cloud/glm-5.3-flash                                          14.2s
    │   ╰── POST /v1/chat/completions [inference-gateway]                        14.1s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]    14.1s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]              14.1s
    │               ╰── POST /v1/chat/completions [inference-gateway]            14.1s [error: *errors.errorString]
    ├── execute_tool Edit call_bllkml5y                                            1ms
    ├── execute_tool Edit call_hgzww8ol                                          418µs
    ├── execute_tool Edit call_76vofuim                                          417µs
    ├── chat ollama_cloud/glm-5.3-flash                                          11.9s
    │   ╰── POST /v1/chat/completions [inference-gateway]                        11.9s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]    11.9s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]              11.9s
    │               ╰── POST /v1/chat/completions [inference-gateway]            11.9s [error: *errors.errorString]
    ├── execute_tool Grep call_4td47o1a                                          400µs
    ├── execute_tool Grep call_a2szws9d                                            9ms
    ├── chat ollama_cloud/glm-5.3-flash                                          26.4s
    │   ╰── POST /v1/chat/completions [inference-gateway]                        26.4s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]    26.3s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]              26.3s
    │               ╰── POST /v1/chat/completions [inference-gateway]            26.3s [error: *errors.errorString]
    ├── execute_tool Edit call_lkp4ul6g                                          477µs
    ├── execute_tool Edit call_zqy7qwmx                                          393µs
    ├── chat ollama_cloud/glm-5.3-flash                                           6.3s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         6.3s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     6.3s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               6.3s
    │               ╰── POST /v1/chat/completions [inference-gateway]             6.3s [error: *errors.errorString]
    ├── execute_tool Edit call_gm36nowc                                          366µs
    ├── chat ollama_cloud/glm-5.3-flash                                          10.3s
    │   ╰── POST /v1/chat/completions [inference-gateway]                        10.2s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]    10.2s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]              10.2s
    │               ╰── POST /v1/chat/completions [inference-gateway]            10.2s [error: *errors.errorString]
    ├── execute_tool Grep call_4svwo8ig                                          674ms
    ├── chat ollama_cloud/glm-5.3-flash                                           3.6s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         3.5s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     3.5s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               3.5s
    │               ╰── POST /v1/chat/completions [inference-gateway]             3.5s [error: *errors.errorString]
    ├── execute_tool Grep call_2yz1f813                                            1ms
    ├── chat ollama_cloud/glm-5.3-flash                                           3.4s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         3.4s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     3.3s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               3.3s
    │               ╰── POST /v1/chat/completions [inference-gateway]             3.3s [error: *errors.errorString]
    ├── execute_tool Edit call_qfqrwupv                                          949µs
    ├── chat ollama_cloud/glm-5.3-flash                                          11.6s
    │   ╰── POST /v1/chat/completions [inference-gateway]                        11.5s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]    11.5s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]              11.5s
    │               ╰── POST /v1/chat/completions [inference-gateway]            11.5s [error: *errors.errorString]
    ├── execute_tool Read call_2uj6vkei                                          203µs
    ├── chat ollama_cloud/glm-5.3-flash                                           8.0s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         8.0s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     7.9s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               7.9s
    │               ╰── POST /v1/chat/completions [inference-gateway]             7.9s [error: *errors.errorString]
    ├── execute_tool Edit call_s1i8bebq                                          964µs
    ├── chat ollama_cloud/glm-5.3-flash                                           9.7s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         9.6s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     9.6s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               9.6s
    │               ╰── POST /v1/chat/completions [inference-gateway]             9.6s
    ├── execute_tool Edit call_wql5vao6                                          792µs
    ├── chat ollama_cloud/glm-5.3-flash                                           4.5s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         4.5s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     4.4s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               4.4s
    │               ╰── POST /v1/chat/completions [inference-gateway]             4.4s [error: *errors.errorString]
    ├── execute_tool Read call_2ajfj826                                          244µs
    ├── execute_tool Bash call_jcrox1f1                                           2.2s
    ├── chat ollama_cloud/glm-5.3-flash                                           7.1s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         7.0s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     7.0s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               7.0s
    │               ╰── POST /v1/chat/completions [inference-gateway]             7.0s [error: *errors.errorString]
    ├── execute_tool TodoWrite call_u57his41                                      95µs
    ├── execute_tool Bash call_mcvn1edp                                          43.4s [error: tool_error]
    ├── chat ollama_cloud/glm-5.3-flash                                          17.4s
    │   ╰── POST /v1/chat/completions [inference-gateway]                        17.4s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]    17.3s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]              17.3s
    │               ╰── POST /v1/chat/completions [inference-gateway]            17.3s [error: *errors.errorString]
    ├── execute_tool Edit call_7v57a0si                                          385µs
    ├── chat ollama_cloud/glm-5.3-flash                                          10.7s
    │   ╰── POST /v1/chat/completions [inference-gateway]                        10.7s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]    10.6s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]              10.6s
    │               ╰── POST /v1/chat/completions [inference-gateway]            10.6s [error: *errors.errorString]
    ├── execute_tool Edit call_2bdqnkbn                                          355µs
    ├── chat ollama_cloud/glm-5.3-flash                                           3.7s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         3.7s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     3.6s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               3.6s
    │               ╰── POST /v1/chat/completions [inference-gateway]             3.6s [error: *errors.errorString]
    ├── execute_tool Bash call_f2vofhqf                                           3.5s
    ├── execute_tool Bash call_uas4dn6g                                           9.3s
    ├── chat ollama_cloud/glm-5.3-flash                                           8.5s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         8.4s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     8.4s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               8.4s
    │               ╰── POST /v1/chat/completions [inference-gateway]             8.4s [error: *errors.errorString]
    ├── execute_tool Bash call_rgmbc6j2                                            9ms
    ├── chat ollama_cloud/glm-5.3-flash                                           3.5s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         3.4s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     3.4s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               3.4s
    │               ╰── POST /v1/chat/completions [inference-gateway]             3.4s [error: *errors.errorString]
    ├── execute_tool Bash call_n2459w9x                                            9ms
    ├── chat ollama_cloud/glm-5.3-flash                                           4.0s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         4.0s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     3.9s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               3.9s
    │               ╰── POST /v1/chat/completions [inference-gateway]             3.9s [error: *errors.errorString]
    ├── execute_tool Bash call_r2wi1p0k                                          1m22s [error: tool_error]
    ├── chat ollama_cloud/glm-5.3-flash                                          21.5s
    │   ╰── POST /v1/chat/completions [inference-gateway]                        21.4s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]    21.4s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]              21.4s
    │               ╰── POST /v1/chat/completions [inference-gateway]            21.4s [error: *errors.errorString]
    ├── execute_tool Edit call_kr6hcghb                                            1ms
    ├── chat ollama_cloud/glm-5.3-flash                                           8.4s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         8.3s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     8.3s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               8.3s
    │               ╰── POST /v1/chat/completions [inference-gateway]             8.3s [error: *errors.errorString]
    ├── execute_tool Bash call_c47l3amz                                           5.2s
    ├── chat ollama_cloud/glm-5.3-flash                                           6.3s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         6.2s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     6.2s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               6.2s
    │               ╰── POST /v1/chat/completions [inference-gateway]             6.2s [error: *errors.errorString]
    ├── execute_tool Bash call_boiywiev                                           2.0s
    ├── chat ollama_cloud/glm-5.3-flash                                          14.2s
    │   ╰── POST /v1/chat/completions [inference-gateway]                        14.1s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]    14.1s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]              14.1s
    │               ╰── POST /v1/chat/completions [inference-gateway]            14.1s [error: *errors.errorString]
    ├── execute_tool Write call_hxg93dgw                                         804µs
    ├── chat ollama_cloud/glm-5.3-flash                                           4.1s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         4.0s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     4.0s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               4.0s
    │               ╰── POST /v1/chat/completions [inference-gateway]             4.0s [error: *errors.errorString]
    ├── execute_tool Bash call_gsufdt0g                                           1.6s
    ├── chat ollama_cloud/glm-5.3-flash                                           8.7s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         8.7s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     8.6s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               8.6s
    │               ╰── POST /v1/chat/completions [inference-gateway]             8.6s [error: *errors.errorString]
    ├── execute_tool Bash call_pqku6uil                                            7ms
    ├── execute_tool Bash call_z0x02ofw                                          614ms
    ├── chat ollama_cloud/glm-5.3-flash                                           3.8s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         3.8s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     3.7s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               3.7s
    │               ╰── POST /v1/chat/completions [inference-gateway]             3.7s [error: *errors.errorString]
    ├── execute_tool Bash call_34nesu0x                                           5.3s
    ├── chat ollama_cloud/glm-5.3-flash                                           7.9s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         7.9s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     7.8s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               7.8s
    │               ╰── POST /v1/chat/completions [inference-gateway]             7.8s [error: *errors.errorString]
    ├── execute_tool Bash call_rcl1e4u1                                           1.3s
    ├── chat ollama_cloud/glm-5.3-flash                                           8.6s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         8.5s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     8.4s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               8.4s
    │               ╰── POST /v1/chat/completions [inference-gateway]             8.4s [error: *errors.errorString]
    ├── execute_tool WebFetch call_xn422bj9                                      106ms
    ├── chat ollama_cloud/glm-5.3-flash                                          11.6s
    │   ╰── POST /v1/chat/completions [inference-gateway]                        11.5s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]    11.4s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]              11.4s
    │               ╰── POST /v1/chat/completions [inference-gateway]            11.4s [error: *errors.errorString]
    ├── execute_tool Write call_te4ycbkz                                           1ms
    ├── chat ollama_cloud/glm-5.3-flash                                           3.4s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         3.3s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     3.3s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               3.3s
    │               ╰── POST /v1/chat/completions [inference-gateway]             3.3s [error: *errors.errorString]
    ├── execute_tool Bash call_xa21c3nv                                           1.1s
    ├── chat ollama_cloud/glm-5.3-flash                                           7.2s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         7.2s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     7.1s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               7.1s
    │               ╰── POST /v1/chat/completions [inference-gateway]             7.1s [error: *errors.errorString]
    ├── execute_tool Read call_nj88tct7                                          194µs
    ├── execute_tool Bash call_3k9241py                                          40.8s
    ├── chat ollama_cloud/glm-5.3-flash                                           9.9s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         9.9s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     9.8s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               9.8s
    │               ╰── POST /v1/chat/completions [inference-gateway]             9.8s [error: *errors.errorString]
    ├── execute_tool Edit call_uhovn56c                                          956µs
    ├── execute_tool Bash call_ucidqpo0                                          838ms
    ├── chat ollama_cloud/glm-5.3-flash                                           6.0s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         6.0s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     5.9s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               5.9s
    │               ╰── POST /v1/chat/completions [inference-gateway]             5.9s [error: *errors.errorString]
    ├── execute_tool Read call_0sqeznom                                          169µs
    ├── execute_tool Bash call_1miyjf27                                            9ms
    ├── execute_tool Bash call_qiyup6cq                                            9ms
    ├── chat ollama_cloud/glm-5.3-flash                                           5.7s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         5.6s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     5.6s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               5.6s
    │               ╰── POST /v1/chat/completions [inference-gateway]             5.6s [error: *errors.errorString]
    ├── execute_tool Read call_ojuvjat1                                          130µs
    ├── execute_tool Bash call_2ah0y16n                                           38ms [error: tool_error]
    ├── chat ollama_cloud/glm-5.3-flash                                           5.4s
    │   ╰── POST /v1/chat/completions [inference-gateway]                         5.4s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     5.3s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]               5.3s
    │               ╰── POST /v1/chat/completions [inference-gateway]             5.3s [error: *errors.errorString]
    ├── execute_tool Memory call_pw0a0lj5                                        160µs
    ├── execute_tool Bash call_n19yx5fl                                          267ms
    ├── chat ollama_cloud/glm-5.3-flash                                          12.1s
    │   ╰── POST /v1/chat/completions [inference-gateway]                        12.0s
    │       ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]    11.9s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]              11.9s
    │               ╰── POST /v1/chat/completions [inference-gateway]            11.9s [error: *errors.errorString]
    ├── execute_tool TodoWrite call_kwtzbv0x                                      91µs
    ├── execute_tool Memory call_sq3k9b6n                                         1.1s
    ╰── chat ollama_cloud/glm-5.3-flash                                           9.9s
        ╰── POST /v1/chat/completions [inference-gateway]                         9.8s
            ╰── POST /proxy/ollama_cloud/chat/completions [inference-gateway]     9.8s [error: *errors.errorString]
                ╰── POST /proxy/:provider/*path [inference-gateway]               9.8s
                    ╰── POST /v1/chat/completions [inference-gateway]             9.8s [error: *errors.errorString]
    
    Stats
    Tool Calls
    
    ╭───────────┬───────┬───────┬────────╮
    │ Tool      │ Calls │ Fail% │ Avg    │
    ├───────────┼───────┼───────┼────────┤
    │ Bash      │ 28    │ 11%   │ 7181ms │
    │ Read      │ 16    │ 0%    │ 0ms    │
    │ Edit      │ 13    │ 0%    │ 0ms    │
    │ Grep      │ 8     │ 0%    │ 149ms  │
    │ Memory    │ 5     │ 0%    │ 223ms  │
    │ TodoWrite │ 3     │ 0%    │ 0ms    │
    │ Write     │ 2     │ 0%    │ 1ms    │
    │ WebFetch  │ 1     │ 0%    │ 106ms  │
    ╰───────────┴───────┴───────┴────────╯
    
    Token Usage
    
    ╭────────────────────────────┬─────────┬────────┬────────────┬─────────┬──────╮
    │ Model                      │ Prompt  │ Cached │ Completion │ Total   │ Cost │
    ├────────────────────────────┼─────────┼────────┼────────────┼─────────┼──────┤
    │ ollama_cloud/glm-5.3-flash │ 6358823 │ 0      │ 29970      │ 6388793 │ -    │
    ╰────────────────────────────┴─────────┴────────┴────────────┴─────────┴──────╯
    
    Sessions
    
    ╭───────────┬──────────┬──────────╮
    │ Execution │ Mode     │ Sessions │
    ├───────────┼──────────┼──────────┤
    │ headless  │ headless │ 1        │
    ╰───────────┴──────────┴──────────╯
    

    Triggered by edenreich · Infer Action · OSS

  6. moved this from Todo to In progress in 2026on Aug 30, 2026
  7. moved this from In progress to QA in 2026on Aug 30, 2026
  8. inference-gateway-releaser commented on Aug 30, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.185.1 🎉

    The release is available on:

    Your semantic-release bot 📦🚀

  9. moved this from QA to Done in 2026on Aug 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactorreleased

    Type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions