Skip to content

[DOCS] Document the apt input in infer-action #551

Closed

Description

Summary

infer-action gained a new public input, apt, in inference-gateway/infer-action#315 (closes inference-gateway/infer-action#314). It is not covered on the docs site yet.

What it does:

  • apt takes a newline- or space-separated list of apt package names.
  • Packages are installed before the agent runs, in a composite run: step: DEBIAN_FRONTEND=noninteractive sudo apt-get install -y <packages>.
  • Debian/Ubuntu runners only. On any other OS family the step prints ::error::apt input is only supported on Debian/Ubuntu runners and fails.
  • An install failure fails the step before the agent starts, so there is no orphan run.
  • Default "" - the step is skipped entirely when unset.
  • No caching and no version pinning in this version.

Example:

- uses: inference-gateway/infer-action@vX
  with:
    model: ...
    apt: |
      libxml2-dev
      libpq-dev

Worth noting alongside it: a plain run: sudo apt-get install -y ... step before the action still works and is the portable option on non-Debian runners.

Affected pages: the infer-action inputs reference table, and wherever runner setup / prerequisites are described (this sits next to the languages input added in inference-gateway/infer-action#317).

Acceptance Criteria

  • apt documented in the infer-action inputs reference (type, default, newline/space separated)
  • Debian/Ubuntu-only constraint and the failure behavior on other runners called out
  • Usage example showing a multi-line package list
  • Note that no caching or version pinning is supported, and that a plain run: step remains the portable alternative

Activity

  1. added
    documentation
    on Aug 13, 2026
  2. moved this to Todo in 2026on Aug 13, 2026
  3. added theissue type on 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

    • Add issue to project board (Roadmap 2026), set Status=In progress
    • Find existing infer-action docs (inputs reference, runner setup)
    • Add apt input to the inputs reference table + runner setup example
    • Run checks, commit, push, open draft PR, set status to QA

    Pull Request

    #553

    ✅ Infer Result: Success

    All done. Here's a summary of what was changed:

    File modified: github-action.md

    Changes:

    1. Added apt row to the Inputs reference table after version - covering type ('' default), newline/space-separated format, Debian/Ubuntu-only constraint with error/fail behavior, no caching or version pinning, and the portable run: alternative.
    2. Added a "### Runner setup" subsection after the inputs table with a multi-line YAML example showing apt: | usage with libxml2-dev/libpq-dev.

    PR: #553 (draft)

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

    Tokens: 2,289,603 in · 8,914 out · 2,298,517 total (28 requests)

    Tool calls: 37 total · 100% success rate

    Traces
    Session: 1786624137-c754673a
    
    session (headless, success)                                        2m43s
    ├── 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_nd7ubuez                            76µs
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     1.7s
    │   ╰── POST /v1/chat/completions [inference-gateway]               1.7s
    │       ╰── HTTP POST [inference-gateway]                           1.7s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     1.7s
    │               ╰── HTTP POST [inference-gateway]                   1.7s [error: *errors.errorString]
    ├── execute_tool Bash call_00klf937                                227ms
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     1.6s
    │   ╰── POST /v1/chat/completions [inference-gateway]               1.6s
    │       ╰── HTTP POST [inference-gateway]                           1.6s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     1.6s
    │               ╰── HTTP POST [inference-gateway]                   1.6s [error: *errors.errorString]
    ├── execute_tool Bash call_5wu10thd                                 1.5s
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     1.9s
    │   ╰── POST /v1/chat/completions [inference-gateway]               1.9s
    │       ╰── HTTP POST [inference-gateway]                           1.9s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     1.9s
    │               ╰── HTTP POST [inference-gateway]                   1.9s [error: *errors.errorString]
    ├── execute_tool Bash call_06f10iv3                                552ms
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     2.7s
    │   ╰── POST /v1/chat/completions [inference-gateway]               2.7s
    │       ╰── HTTP POST [inference-gateway]                           2.7s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     2.7s
    │               ╰── HTTP POST [inference-gateway]                   2.7s [error: *errors.errorString]
    ├── execute_tool TodoWrite call_p6ffbdns                            76µs
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     2.1s
    │   ╰── POST /v1/chat/completions [inference-gateway]               2.0s
    │       ╰── HTTP POST [inference-gateway]                           2.0s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     2.0s
    │               ╰── HTTP POST [inference-gateway]                   2.0s [error: *errors.errorString]
    ├── execute_tool Read call_5z69w5hj                                191µs
    ├── execute_tool Grep call_ayh8und5                                 1.2s
    ├── execute_tool Bash call_imgflce9                                  4ms
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     2.0s
    │   ╰── POST /v1/chat/completions [inference-gateway]               2.0s
    │       ╰── HTTP POST [inference-gateway]                           1.9s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     1.9s
    │               ╰── HTTP POST [inference-gateway]                   1.9s [error: *errors.errorString]
    ├── execute_tool Bash call_w2rbpo2e                                 55ms
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     1.7s
    │   ╰── POST /v1/chat/completions [inference-gateway]               1.7s
    │       ╰── HTTP POST [inference-gateway]                           1.7s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     1.7s
    │               ╰── HTTP POST [inference-gateway]                   1.7s [error: *errors.errorString]
    ├── execute_tool Read call_z3kuqs37                                413µs
    ├── execute_tool Bash call_rueccf70                                 1.2s
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     5.6s
    │   ╰── POST /v1/chat/completions [inference-gateway]               5.6s
    │       ╰── HTTP POST [inference-gateway]                           5.6s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     5.6s
    │               ╰── HTTP POST [inference-gateway]                   5.6s [error: *errors.errorString]
    ├── execute_tool Grep call_7hazs7c3                                818µs
    ├── execute_tool Bash call_28iya00v                                312ms
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     5.9s
    │   ╰── POST /v1/chat/completions [inference-gateway]               5.9s
    │       ╰── HTTP POST [inference-gateway]                           5.9s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     5.9s
    │               ╰── HTTP POST [inference-gateway]                   5.9s [error: *errors.errorString]
    ├── execute_tool Bash call_o4s4sj8m                                247ms
    ├── chat ollama_cloud/deepseek-v4-flash:preview                    16.5s
    │   ╰── POST /v1/chat/completions [inference-gateway]              16.5s
    │       ╰── HTTP POST [inference-gateway]                          16.5s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]    16.5s
    │               ╰── HTTP POST [inference-gateway]                  16.5s [error: *errors.errorString]
    ├── execute_tool Read call_vjl2qng4                                196µs
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     6.7s
    │   ╰── POST /v1/chat/completions [inference-gateway]               6.7s
    │       ╰── HTTP POST [inference-gateway]                           6.7s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     6.7s
    │               ╰── HTTP POST [inference-gateway]                   6.7s [error: *errors.errorString]
    ├── execute_tool TodoWrite call_q9jmbvpn                            59µs
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     7.4s
    │   ╰── POST /v1/chat/completions [inference-gateway]               7.4s
    │       ╰── HTTP POST [inference-gateway]                           7.4s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     7.4s
    │               ╰── HTTP POST [inference-gateway]                   7.4s [error: *errors.errorString]
    ├── execute_tool MultiEdit call_iqhwy4qx                             5ms [error: tool_error]
    ├── 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]
    ├── execute_tool Read call_el1stsoc                                161µs
    ├── execute_tool Read call_r48p51bw                                222µs
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     7.8s
    │   ╰── POST /v1/chat/completions [inference-gateway]               7.8s
    │       ╰── HTTP POST [inference-gateway]                           7.8s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     7.8s
    │               ╰── HTTP POST [inference-gateway]                   7.8s [error: *errors.errorString]
    ├── execute_tool Edit call_1u1tqno2                                640µs
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     4.8s
    │   ╰── POST /v1/chat/completions [inference-gateway]               4.8s
    │       ╰── HTTP POST [inference-gateway]                           4.8s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     4.8s
    │               ╰── HTTP POST [inference-gateway]                   4.8s [error: *errors.errorString]
    ├── execute_tool Edit call_rj7rlred                                747µs
    ├── 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 TodoWrite call_y4v495or                            61µs
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     3.1s
    │   ╰── POST /v1/chat/completions [inference-gateway]               3.1s
    │       ╰── 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_ccrirqad                                23.1s
    ├── execute_tool Bash call_2ruby9k4                                 5.8s [error: tool_error]
    ├── execute_tool Bash call_qyd07ar0                                 2.8s
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     3.0s
    │   ╰── 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_vrche6ez                                 3.7s
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     3.0s
    │   ╰── POST /v1/chat/completions [inference-gateway]               3.0s
    │       ╰── 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_s2ja2vls                                 3.6s
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     3.0s
    │   ╰── 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_olloi3wp                                  6ms
    ├── 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_k3yl1ttb                                 10ms
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     4.3s
    │   ╰── POST /v1/chat/completions [inference-gateway]               4.3s
    │       ╰── HTTP POST [inference-gateway]                           4.3s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     4.3s
    │               ╰── HTTP POST [inference-gateway]                   4.3s [error: *errors.errorString]
    ├── execute_tool Write call_6pxte5ne                               698µs
    ├── execute_tool Bash call_48bikdp9                                 1.3s
    ├── 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_c01fz80b                                 1.8s
    ├── 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_4bu3tmvc                                766ms
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     3.4s
    │   ╰── POST /v1/chat/completions [inference-gateway]               3.4s
    │       ╰── 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_nsrb0wkw                                  6ms
    ├── execute_tool Bash call_ygvn4l6k                                  7ms
    ├── execute_tool Bash call_xuqwlvnw                                381ms
    ├── chat ollama_cloud/deepseek-v4-flash:preview                     5.1s
    │   ╰── POST /v1/chat/completions [inference-gateway]               5.0s
    │       ╰── HTTP POST [inference-gateway]                           5.0s [error: *errors.errorString]
    │           ╰── POST /proxy/:provider/*path [inference-gateway]     5.0s
    │               ╰── HTTP POST [inference-gateway]                   5.0s [error: *errors.errorString]
    ├── execute_tool TodoWrite call_erlao0a5                            61µs
    ╰── chat ollama_cloud/deepseek-v4-flash:preview                     3.5s
        ╰── 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]
    
    Stats
    Tool Calls
    
    ╭───────────┬───────┬───────┬────────╮
    │ Tool      │ Calls │ Fail% │ Avg    │
    ├───────────┼───────┼───────┼────────┤
    │ Bash      │ 21    │ 5%    │ 2257ms │
    │ TodoWrite │ 5     │ 0%    │ 0ms    │
    │ Read      │ 5     │ 0%    │ 0ms    │
    │ Grep      │ 2     │ 0%    │ 606ms  │
    │ Edit      │ 2     │ 0%    │ 0ms    │
    │ MultiEdit │ 1     │ 100%  │ 5ms    │
    │ Write     │ 1     │ 0%    │ 0ms    │
    ╰───────────┴───────┴───────┴────────╯
    
    Token Usage
    
    ╭────────────────────────────────────────┬─────────┬────────┬────────────┬─────────┬──────╮
    │ Model                                  │ Prompt  │ Cached │ Completion │ Total   │ Cost │
    ├────────────────────────────────────────┼─────────┼────────┼────────────┼─────────┼──────┤
    │ ollama_cloud/deepseek-v4-flash:preview │ 2289603 │ 0      │ 8914       │ 2298517 │ -    │
    ╰────────────────────────────────────────┴─────────┴────────┴────────────┴─────────┴──────╯
    
    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