Skip to content

[TASK] Refactor generate-provider-docs.mjs to use Bun.YAML.parse instead of the hand-rolled YAML reader #1238

Closed

Description

Summary

scripts/generate-provider-docs.mjs carries a hand-rolled block-YAML reader - indentOf, stripInlineComment, parseScalar, tokenize, parseMap, parseSeq, parseNode, subtreeLines, findKeyIndex and the line-scanning body of extractProviderModel - roughly 150 lines whose only job is to pull components.schemas.Provider.enum and components.schemas.Provider['x-provider-configs'] out of openapi.yaml.

Bun ships a YAML parser in its standard runtime (Bun.YAML.parse), and Bun is the only runtime this script is run with: the shebang is #!/usr/bin/env bun, and Taskfile.yml, ci.yml and AGENTS.md all invoke it as bun scripts/generate-provider-docs.mjs. The "runs under both bun and node (>=18)" promise in the header comment has no caller in this repo.

Checked read-only on this branch with Bun 1.4.4: for both scripts/__fixtures__/openapi.sample.yaml and the live inference-gateway/schemas main openapi.yaml (206 KB), Bun.YAML.parse(schemaText).components.schemas.Provider gives enum and x-provider-configs values that are deep-equal to what extractProviderModel returns today (18 providers).

Principle applied - clean-code: hand-rolled code the standard library already covers, plus dead code that goes with it (findKeyIndex has a withinIndentGreaterThan parameter that neither of its two callers passes). The custom reader also understands only a YAML subset - a flow sequence such as enum: [openai, groq] in the schema would not match findKeyIndex at all, so the enum would be silently ignored and the provider list would fall back to the x-provider-configs keys - a risk a real parser removes. The change is local to one function in one file. extractProviderModel keeps its signature and return shape, so buildProviders, the renderers and the test file do not change.

Acceptance Criteria

  • Before: extractProviderModel scans lines with regexes and the custom tokenizer. After: it parses with Bun.YAML.parse(schemaText), reads components.schemas.Provider, and still returns { enumIds, configs } with enumIds falling back to Object.keys(configs) when the enum is absent.
  • Before: a missing Provider schema or a missing x-provider-configs block throws a descriptive Error. After: both cases still throw the same descriptive messages (no raw TypeError on an undefined path).
  • Before: indentOf, stripInlineComment, parseScalar, tokenize, parseMap, parseSeq, parseNode, subtreeLines and findKeyIndex exist in the script. After: all nine are deleted, along with the "Minimal block-YAML reader" banner comment.
  • Before: the file header says "Zero runtime dependencies: runs under both bun and node (>=18)" and the entrypoint guard has a pathToFileURL(process.argv[1]) fallback for older node. After: the header says the script needs Bun, and the guard is if (import.meta.main) with the unused pathToFileURL import removed.
  • Before: the test file header says the suite "exercises the hand-rolled block YAML reader". After: that sentence matches the new implementation.
  • Bun.YAML.parse is confirmed available on the release pinned in .bun-version (it was verified here on 1.4.4 only).
  • task generate against the live schema produces no diff in the five generated pages.
  • Existing tests still pass (bun test, bun run format:check, bun run lint:md).

Activity

  1. edenreich commented on Nov 16, 2026

    @edenreich
    Contributor

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

  2. inference-gateway-maintainer commented on Nov 16, 2026

    @inference-gateway-maintainer
    ContributorAuthor

    Model: ollama_cloud/glm-5.3-flash · Action: v0.59.9 · CLI: v0.262.0 · View Job

    Todos

    Pull Request

    #1241

    ✅ Infer Result: Success

    Done. Issue #1238 is implemented on branch fix/issue-1238, pushed, and PR #1241 (ready for review): #1241

    What changed

    • scripts/generate-provider-docs.mjs (-168 lines): extractProviderModel now does Bun.YAML.parse(schemaText)?.components?.schemas?.Provider instead of the hand-rolled reader. Deleted all nine helpers (indentOf, stripInlineComment, parseScalar, tokenize, parseMap, parseSeq, parseNode, subtreeLines, findKeyIndex) plus the "Minimal block-YAML reader" banner. Kept the return shape { enumIds, configs } with the Object.keys(configs) fallback, and the same descriptive error for a missing/empty Provider schema (no TypeError on undefined paths). Header now states the Bun requirement; entrypoint guard simplified to if (import.meta.main) with the pathToFileURL fallback and import removed.
    • scripts/generate-provider-docs.test.mjs: header sentence updated, plus 3 new tests (missing Provider schema, Provider without x-provider-configs, enum fallback from x-provider-configs keys - also exercising flow mappings/sequences the old reader could not parse).

    Verification (all passing)

    Skipped: couldn't invoke bun 1.3.14 itself - the sandbox has 1.3.13, where Bun.YAML.parse verified empirically (the API exists since 1.2.x, and the repo's CI runs the pinned 1.3.14); flow-enum coverage lives in the synthetic tests, not the committed fixture. Risk: the previously unreachable "missing the x-provider-configs extension" message is gone - both failure modes now throw the existing locator message, which is what the old code actually produced for both.

    Model: ollama_cloud/glm-5.3-flash · Action: v0.59.9 · CLI: v0.262.0 · Exit Code: 0 · Duration: 3m 51s

    Tokens: 1,621,974 in · 21,171 out · 1,643,145 total (33 requests)

    Tool calls: 36 total · 100% success rate

    Traces
    Session: 1794842791-3307e9d5
    
    session (headless, success)                                                                        3m44s
    ├── 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 Skill call_5eftqudj                                                               114µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.0s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.9s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.9s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        1.9s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.9s
    ├── execute_tool TodoWrite call_wnue8uqh                                                            69µs
    ├── execute_tool Read call_sgns3frb                                                                569µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.2s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.2s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.2s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        1.2s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.2s
    ├── execute_tool Read call_gpk602wg                                                                379µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.7s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.7s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.7s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        1.7s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.7s
    ├── execute_tool Read call_71jfi5y1                                                                385µs
    ├── execute_tool Read call_qqejktqn                                                                389µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 3.3s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       3.3s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     3.3s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        3.3s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.3s
    ├── execute_tool Bash call_4nrqisc5                                                                 26ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                956ms
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      944ms
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    941ms
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                       941ms
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                941ms
    ├── execute_tool Bash call_5qqg79yf                                                                 1.7s
    ├── 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 Bash call_ry6l8sqm                                                                356ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.8s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.8s
    │       ╰── 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_sddj6goh                                                                 1.6s
    ├── chat ollama_cloud/glm-5.3-flash                                                                10.1s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      10.1s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    10.1s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                       10.1s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                10.1s
    ├── execute_tool Bash call_pbtpa90z                                                                 1.7s
    ├── chat ollama_cloud/glm-5.3-flash                                                                40.1s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      40.1s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    40.1s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                       40.1s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                40.1s
    ├── execute_tool Write call_f8w1su0x                                                                 1ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 4.3s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       4.3s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     4.3s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        4.3s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 4.3s
    ├── execute_tool Bash call_s2y0x0rp                                                                 14ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                20.0s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      20.0s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    19.9s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                       19.9s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                19.9s
    ├── execute_tool Read call_symruqdb                                                                392µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                 9.7s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       9.7s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     9.6s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        9.6s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 9.6s
    ├── execute_tool MultiEdit call_dd4scza3                                                             1ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 4.5s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       4.5s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     4.5s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        4.5s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 4.5s
    ├── execute_tool MultiEdit call_pz3p9jj8                                                           778µs
    ├── 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 /proxy/{provider}/{path...} [inference-gateway, server]                        1.3s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.3s
    ├── execute_tool Bash call_6ha8m1bx                                                                  4ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.0s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      993ms
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    988ms
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                       988ms
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                987ms
    ├── execute_tool Bash call_z6puggt1                                                                 4.7s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.1s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.1s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.1s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        1.1s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.1s
    ├── execute_tool Bash call_gq8pbg3e                                                                 36ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.3s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.3s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     2.3s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        2.3s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.3s
    ├── execute_tool Bash call_80t5i9qv                                                                  7ms
    ├── 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 /proxy/{provider}/{path...} [inference-gateway, server]                        1.3s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.3s
    ├── execute_tool Bash call_bbv5e3ue                                                                  7ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                953ms
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      942ms
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    937ms
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                       937ms
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                937ms
    ├── execute_tool Bash call_p93bx5yv                                                                 1.5s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 4.8s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       4.8s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     4.8s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        4.8s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 4.8s
    ├── execute_tool Write call_5j9z0f7s                                                               972µs
    ├── chat ollama_cloud/glm-5.3-flash                                                                878ms
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                      869ms
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]    863ms
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                       863ms
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                863ms
    ├── execute_tool Bash call_om3n8n6b                                                                 2.1s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 5.2s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       5.2s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     5.2s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        5.2s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 5.2s
    ├── execute_tool Bash call_y2flx64o                                                                 1.4s
    ├── chat ollama_cloud/glm-5.3-flash                                                                10.6s
    │   ╰── 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 TodoWrite call_soxnjbx2                                                            66µs
    ├── execute_tool Bash call_le6i9g95                                                                 4.7s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 6.3s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       6.3s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     6.3s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        6.3s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 6.3s
    ├── execute_tool Bash call_mw86v5e7                                                                 2.2s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 5.2s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       5.2s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     5.2s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        5.2s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 5.2s
    ├── execute_tool Bash call_qqb4jsw9                                                                 1.8s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 2.8s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       2.8s
    │       ╰── 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_tqhdwodi                                                                 10ms
    ├── chat ollama_cloud/glm-5.3-flash                                                                 3.5s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       3.5s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     3.5s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        3.5s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 3.5s
    ├── execute_tool Bash call_2pzhunoa                                                                  2ms
    ├── 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 /proxy/{provider}/{path...} [inference-gateway, server]                        4.2s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 4.2s
    ├── execute_tool Wait call_44sbrctp                                                                27.5s
    ├── chat ollama_cloud/glm-5.3-flash                                                                 1.9s
    │   ╰── POST /v1/chat/completions [inference-gateway, server]                                       1.9s
    │       ╰── POST 127.0.0.1:8080/proxy/ollama_cloud/chat/completions [inference-gateway, client]     1.9s
    │           ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        1.9s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 1.9s
    ├── execute_tool Bash call_5ezfuva4                                                                  5ms
    ├── 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 Bash call_x947r6ms                                                                 1.9s
    ├── 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 /proxy/{provider}/{path...} [inference-gateway, server]                        4.2s
    │               ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 4.2s
    ├── execute_tool TodoWrite call_b2ordf3y                                                            62µs
    ╰── 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.7s
                ╰── POST /proxy/{provider}/{path...} [inference-gateway, server]                        2.7s
                    ╰── POST ollama.com/v1/chat/completions [inference-gateway, client]                 2.7s
    
    Stats
    Tool Calls
    
    ╭───────────┬───────┬───────┬─────────╮
    │ Tool      │ Calls │ Fail% │ Avg     │
    ├───────────┼───────┼───────┼─────────┤
    │ Bash      │ 21    │ 0%    │ 1229ms  │
    │ Read      │ 5     │ 0%    │ 422µs   │
    │ TodoWrite │ 3     │ 0%    │ 60µs    │
    │ Write     │ 2     │ 0%    │ 1000µs  │
    │ MultiEdit │ 2     │ 0%    │ 1ms     │
    │ Skill     │ 1     │ 0%    │ 119µs   │
    │ Wait      │ 1     │ 0%    │ 27500ms │
    ╰───────────┴───────┴───────┴─────────╯
    
    Token Usage
    
    ╭────────────────────────────┬─────────┬─────────┬────────────┬─────────┬──────╮
    │ Model                      │ Prompt  │ Cached  │ Completion │ Total   │ Cost │
    ├────────────────────────────┼─────────┼─────────┼────────────┼─────────┼──────┤
    │ ollama_cloud/glm-5.3-flash │ 1621974 │ 1240960 │ 21171      │ 1643145 │ -    │
    ╰────────────────────────────┴─────────┴─────────┴────────────┴─────────┴──────╯
    
    Sessions
    
    ╭───────────┬──────────┬──────────╮
    │ Execution │ Mode     │ Sessions │
    ├───────────┼──────────┼──────────┤
    │ headless  │ headless │ 1        │
    ╰───────────┴──────────┴──────────╯
    

    Triggered by edenreich · Infer Action · OSS

  3. moved this from Todo to In progress in 2026on Nov 16, 2026
  4. moved this from In progress to QA in 2026on Nov 16, 2026
  5. moved this from QA to Done in 2026on Nov 16, 2026
  6. inference-gateway-releaser commented on Nov 17, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.27 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactorreleased

    Type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions