Skip to content

[DOCS] Document infer-action languages input for toolchain setup #552

Closed

Description

Summary

inference-gateway/infer-action added a new optional languages input (PR inference-gateway/infer-action#317, issue inference-gateway/infer-action#316). Consumers no longer need their own actions/setup-go / setup-node / setup-python / rust-toolchain steps before the action - they declare the languages and the action installs the toolchains before the agent runs.

Behavior:

  • Input languages: newline- or space-separated list. Supported values: go, rust, node (alias: typescript), python. Default empty = no setup steps, current behavior unchanged.
  • Version strategy per language: go -> actions/setup-go@v5 with go-version: stable or go-version-file: go.mod; rust -> dtolnay/rust-toolchain@stable; node/typescript -> actions/setup-node@v4 with node-version: lts/* or node-version-file: .nvmrc; python -> actions/setup-python@v5 with python-version: 3.x or python-version-file: .python-version.
  • An unsupported value fails the action fast with an error listing the supported values.
  • Per-language version pinning is out of scope for now.

Example:

- uses: inference-gateway/infer-action@main
  with:
    github-token: ${{ secrets.GITHUB_TOKEN }}
    model: anthropic/claude-opus-5
    anthropic-api-key: ${{ secrets.ANTHROPIC_API_KEY }}
    languages: |
      go
      typescript

Affected pages

  • github-action.md - add a languages row to the Inputs table and a short "Language toolchains" section with the example above
  • opentask.md - OpenTask already has a language toggle (Rust, Go, Node.js/TypeScript, Python); it can now map 1:1 onto this input in generated workflows

Acceptance Criteria

  • github-action.md Inputs table lists languages with supported values and the empty default
  • github-action.md has a usage example showing the multi-language form
  • Version-file behavior (go.mod, .nvmrc, .python-version) and the fail-fast on unknown values are documented
  • opentask.md language toggle points at the languages input instead of hand-written setup steps

Activity

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

    @edenreich
    Contributor

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

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

    @inference-gateway-maintainer
    ContributorAuthor

    Model: ollama_cloud/deepseek-v4-flash:preview · View Job

    Todos

    • Read github-action.md and opentask.md to understand current content
    • Add the issue to the project board and set Status to In progress
    • Create working branch fix/issue-552
    • Edit github-action.md - add languages input to Inputs table and usage example
    • Edit opentask.md - point language toggle at languages input
    • Validate with checks, commit, push, and create draft PR

    Pull Request

    #554

    ✅ Infer Result: Success

    All done. Here's what I changed:

    github-action.md:

    • Added languages row to the Inputs table (between apt and max-turns) documenting supported values (go, rust, node/typescript, python) and the empty default
    • Added "Language toolchains" section with a table showing each language's resolved action, default version, and version-file fallback (go.mod, .nvmrc, .python-version), plus the fail-fast behavior on unknown values
    • Added a multi-language YAML example with go and typescript

    opentask.md:

    • Updated the "Install the agent" bullet to note the Tasks tab language toggle maps to the languages input

    PR: #554 (draft, set to QA on the project board)

    Model: ollama_cloud/deepseek-v4-flash:preview · Exit Code: 0 · Duration: 3m 4s

    Tokens: 2,946,582 in · 10,737 out · 2,957,319 total (33 requests)

    Tool calls: 38 total · 100% success rate

    Traces
    Session: 1786624996-330fed59
    
    session (headless, success)                                        2m53s
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     2.4s
    │   ╰── POST /v1/chat/completions [inference-gateway]               2.4s
    │       ╰── HTTP POST [inference-gateway]                           2.4s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     2.4s
    │               ╰── HTTP POST [inference-gateway]                   2.4s [error: *errors.errorString]
    ├── execute_tool Read call_28amd34x                                187µs
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     2.2s
    │   ╰── POST /v1/chat/completions [inference-gateway]               2.2s
    │       ╰── HTTP POST [inference-gateway]                           2.2s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     2.2s
    │               ╰── HTTP POST [inference-gateway]                   2.2s [error: *errors.errorString]
    ├── execute_tool Bash call_nuvl8cxy                                  1ms
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     3.2s
    │   ╰── POST /v1/chat/completions [inference-gateway]               3.2s
    │       ╰── HTTP POST [inference-gateway]                           3.2s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     3.2s
    │               ╰── HTTP POST [inference-gateway]                   3.2s [error: *errors.errorString]
    ├── execute_tool TodoWrite call_0dr32y7l                            70µs
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     1.8s
    │   ╰── POST /v1/chat/completions [inference-gateway]               1.8s
    │       ╰── HTTP POST [inference-gateway]                           1.8s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     1.8s
    │               ╰── HTTP POST [inference-gateway]                   1.8s [error: *errors.errorString]
    ├── execute_tool Read call_lkb9rmdb                                167µs
    ├── execute_tool Read call_us438gkq                                383µs
    ├── chat ollama_cloud/deepseek-v4-flash:preview                    13.5s
    │   ╰── POST /v1/chat/completions [inference-gateway]              13.5s
    │       ╰── HTTP POST [inference-gateway]                          13.5s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]    13.5s
    │               ╰── HTTP POST [inference-gateway]                  13.5s [error: *errors.errorString]
    ├── execute_tool Bash call_6evvg8vq                                  3ms
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     4.2s
    │   ╰── POST /v1/chat/completions [inference-gateway]               4.2s
    │       ╰── HTTP POST [inference-gateway]                           4.2s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     4.2s
    │               ╰── HTTP POST [inference-gateway]                   4.2s [error: *errors.errorString]
    ├── execute_tool TodoWrite call_udb2lgdn                            70µs
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     2.4s
    │   ╰── POST /v1/chat/completions [inference-gateway]               2.4s
    │       ╰── HTTP POST [inference-gateway]                           2.3s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     2.3s
    │               ╰── HTTP POST [inference-gateway]                   2.3s [error: *errors.errorString]
    ├── execute_tool Bash call_mjn9c7yl                                386ms
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     2.6s
    │   ╰── POST /v1/chat/completions [inference-gateway]               2.6s
    │       ╰── HTTP POST [inference-gateway]                           2.6s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     2.6s
    │               ╰── HTTP POST [inference-gateway]                   2.6s
    ├── execute_tool Bash call_lo6h9ps9                                 1.5s
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     2.9s
    │   ╰── POST /v1/chat/completions [inference-gateway]               2.9s
    │       ╰── HTTP POST [inference-gateway]                           2.9s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     2.9s
    │               ╰── HTTP POST [inference-gateway]                   2.9s [error: *errors.errorString]
    ├── execute_tool Bash call_dzusi70o                                567ms
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     2.9s
    │   ╰── POST /v1/chat/completions [inference-gateway]               2.9s
    │       ╰── HTTP POST [inference-gateway]                           2.9s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     2.9s
    │               ╰── HTTP POST [inference-gateway]                   2.9s [error: *errors.errorString]
    ├── execute_tool TodoWrite call_4g3vy1k1                            67µs
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     2.1s
    │   ╰── POST /v1/chat/completions [inference-gateway]               2.1s
    │       ╰── HTTP POST [inference-gateway]                           2.1s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     2.1s
    │               ╰── HTTP POST [inference-gateway]                   2.1s [error: *errors.errorString]
    ├── execute_tool Bash call_mpjlnaqb                                 40ms
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     2.4s
    │   ╰── POST /v1/chat/completions [inference-gateway]               2.4s
    │       ╰── HTTP POST [inference-gateway]                           2.4s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     2.4s
    │               ╰── HTTP POST [inference-gateway]                   2.4s [error: *errors.errorString]
    ├── execute_tool Bash call_wxrtohac                                 1.7s
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     2.1s
    │   ╰── POST /v1/chat/completions [inference-gateway]               2.1s
    │       ╰── HTTP POST [inference-gateway]                           2.1s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     2.1s
    │               ╰── HTTP POST [inference-gateway]                   2.1s [error: *errors.errorString]
    ├── execute_tool Bash call_9xcdq4kg                                  1ms
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     5.1s
    │   ╰── POST /v1/chat/completions [inference-gateway]               5.1s
    │       ╰── HTTP POST [inference-gateway]                           5.1s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     5.1s
    │               ╰── HTTP POST [inference-gateway]                   5.1s [error: *errors.errorString]
    ├── execute_tool TodoWrite call_9mphksr1                            60µs
    ├── chat ollama_cloud/deepseek-v4-flash:preview                    14.0s
    │   ╰── POST /v1/chat/completions [inference-gateway]              13.9s
    │       ╰── HTTP POST [inference-gateway]                          13.9s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]    13.9s
    │               ╰── HTTP POST [inference-gateway]                  13.9s [error: *errors.errorString]
    ├── execute_tool MultiEdit call_5iue82oc                             3ms [error: tool_error]
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     4.2s
    │   ╰── POST /v1/chat/completions [inference-gateway]               4.2s
    │       ╰── HTTP POST [inference-gateway]                           4.2s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     4.2s
    │               ╰── HTTP POST [inference-gateway]                   4.2s [error: *errors.errorString]
    ├── execute_tool Read call_eclwj5p4                                182µs
    ├── chat ollama_cloud/deepseek-v4-flash:preview                    10.7s
    │   ╰── POST /v1/chat/completions [inference-gateway]              10.7s
    │       ╰── HTTP POST [inference-gateway]                          10.6s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]    10.6s
    │               ╰── HTTP POST [inference-gateway]                  10.6s [error: *errors.errorString]
    ├── execute_tool Edit call_cdukmqz4                                  1ms
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     7.2s
    │   ╰── POST /v1/chat/completions [inference-gateway]               7.2s
    │       ╰── HTTP POST [inference-gateway]                           7.1s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     7.1s
    │               ╰── HTTP POST [inference-gateway]                   7.1s [error: *errors.errorString]
    ├── execute_tool Edit call_051k0vn6                                  1ms
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     7.7s
    │   ╰── POST /v1/chat/completions [inference-gateway]               7.7s
    │       ╰── HTTP POST [inference-gateway]                           7.7s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     7.7s
    │               ╰── HTTP POST [inference-gateway]                   7.7s [error: *errors.errorString]
    ├── execute_tool TodoWrite call_odhrnlym                            53µs
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     7.0s
    │   ╰── POST /v1/chat/completions [inference-gateway]               7.0s
    │       ╰── HTTP POST [inference-gateway]                           7.0s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     7.0s
    │               ╰── HTTP POST [inference-gateway]                   7.0s [error: *errors.errorString]
    ├── execute_tool Edit call_rxcj6ebc                                244µs
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     4.5s
    │   ╰── POST /v1/chat/completions [inference-gateway]               4.5s
    │       ╰── HTTP POST [inference-gateway]                           4.5s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     4.5s
    │               ╰── HTTP POST [inference-gateway]                   4.5s [error: *errors.errorString]
    ├── execute_tool TodoWrite call_qvu6r4lv                            62µs
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     3.4s
    │   ╰── POST /v1/chat/completions [inference-gateway]               3.4s
    │       ╰── HTTP POST [inference-gateway]                           3.4s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     3.4s
    │               ╰── HTTP POST [inference-gateway]                   3.4s [error: *errors.errorString]
    ├── execute_tool Bash call_x0qw6vaq                                 2.9s [error: tool_error]
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     3.1s
    │   ╰── POST /v1/chat/completions [inference-gateway]               3.0s
    │       ╰── HTTP POST [inference-gateway]                           3.0s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     3.0s
    │               ╰── HTTP POST [inference-gateway]                   3.0s [error: *errors.errorString]
    ├── execute_tool Bash call_ire0vds1                                 2.8s
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     3.9s
    │   ╰── POST /v1/chat/completions [inference-gateway]               3.8s
    │       ╰── HTTP POST [inference-gateway]                           3.8s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     3.8s
    │               ╰── HTTP POST [inference-gateway]                   3.8s [error: *errors.errorString]
    ├── execute_tool Bash call_szo7xrs2                                 1.8s
    ├── execute_tool Bash call_7h3bbe9b                                 3.8s
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     4.7s
    │   ╰── POST /v1/chat/completions [inference-gateway]               4.6s
    │       ╰── HTTP POST [inference-gateway]                           4.6s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     4.6s
    │               ╰── HTTP POST [inference-gateway]                   4.6s [error: *errors.errorString]
    ├── execute_tool Write call_wvat57kt                               826µs
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     3.5s
    │   ╰── POST /v1/chat/completions [inference-gateway]               3.5s
    │       ╰── HTTP POST [inference-gateway]                           3.4s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     3.4s
    │               ╰── HTTP POST [inference-gateway]                   3.4s [error: *errors.errorString]
    ├── execute_tool Bash call_htklrlb7                                  5ms
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     3.6s
    │   ╰── POST /v1/chat/completions [inference-gateway]               3.6s
    │       ╰── HTTP POST [inference-gateway]                           3.6s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     3.6s
    │               ╰── HTTP POST [inference-gateway]                   3.6s [error: *errors.errorString]
    ├── execute_tool Bash call_8qmlxrb5                                  8ms
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     3.2s
    │   ╰── POST /v1/chat/completions [inference-gateway]               3.2s
    │       ╰── HTTP POST [inference-gateway]                           3.1s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     3.1s
    │               ╰── HTTP POST [inference-gateway]                   3.1s [error: *errors.errorString]
    ├── execute_tool Bash call_wo7xn24h                                 1.5s
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     3.3s
    │   ╰── POST /v1/chat/completions [inference-gateway]               3.3s
    │       ╰── HTTP POST [inference-gateway]                           3.3s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     3.3s
    │               ╰── HTTP POST [inference-gateway]                   3.3s [error: *errors.errorString]
    ├── execute_tool Bash call_f4610dx3                                 1.6s
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     4.1s
    │   ╰── POST /v1/chat/completions [inference-gateway]               4.1s
    │       ╰── HTTP POST [inference-gateway]                           4.1s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     4.1s
    │               ╰── HTTP POST [inference-gateway]                   4.1s [error: *errors.errorString]
    ├── execute_tool Bash call_1hh0baes                                  4ms
    ├── execute_tool Bash call_b2jk3kwa                                689ms
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     3.5s
    │   ╰── POST /v1/chat/completions [inference-gateway]               3.5s
    │       ╰── HTTP POST [inference-gateway]                           3.5s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     3.5s
    │               ╰── HTTP POST [inference-gateway]                   3.5s [error: *errors.errorString]
    ├── execute_tool Bash call_vu9hri52                                358ms
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     4.0s
    │   ╰── POST /v1/chat/completions [inference-gateway]               4.0s
    │       ╰── HTTP POST [inference-gateway]                           3.9s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     3.9s
    │               ╰── HTTP POST [inference-gateway]                   3.9s [error: *errors.errorString]
    ├── execute_tool TodoWrite call_jf941vc8                            57µs
    ╰── chat ollama_cloud/deepseek-v4-flash:preview                     4.6s
        ╰── POST /v1/chat/completions [inference-gateway]               4.6s
            ╰── HTTP POST [inference-gateway]                           4.5s [error: *errors.errorString]
                ╰── POST /proxy/:provider/*path [inference-gateway]     4.5s
                    ╰── HTTP POST [inference-gateway]                   4.5s [error: *errors.errorString]
    
    Stats
    Tool Calls
    
    ╭───────────┬───────┬───────┬────────╮
    │ Tool      │ Calls │ Fail% │ Avg    │
    ├───────────┼───────┼───────┼────────┤
    │ Bash      │ 19    │ 5%    │ 1035ms │
    │ TodoWrite │ 7     │ 0%    │ 0ms    │
    │ Read      │ 4     │ 0%    │ 0ms    │
    │ Edit      │ 3     │ 0%    │ 0ms    │
    │ MultiEdit │ 1     │ 100%  │ 3ms    │
    │ Write     │ 1     │ 0%    │ 0ms    │
    ╰───────────┴───────┴───────┴────────╯
    
    Token Usage
    
    ╭────────────────────────────────────────┬─────────┬────────┬────────────┬─────────┬──────╮
    │ Model                                  │ Prompt  │ Cached │ Completion │ Total   │ Cost │
    ├────────────────────────────────────────┼─────────┼────────┼────────────┼─────────┼──────┤
    │ ollama_cloud/deepseek-v4-flash:preview │ 2946582 │ 0      │ 10737      │ 2957319 │ -    │
    ╰────────────────────────────────────────┴─────────┴────────┴────────────┴─────────┴──────╯
    
    Sessions
    
    ╭───────────┬──────────┬──────────╮
    │ Execution │ Mode     │ Sessions │
    ├───────────┼──────────┼──────────┤
    │ headless  │ headless │ 1        │
    ╰───────────┴──────────┴──────────╯
    

    Triggered by edenreich · Infer Action · OSS

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

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.11 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationreleased

    Type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions