Skip to content

[DOCS] Document newly forwarded chat completion parameters #242

Closed

Description

The gateway now forwards the full set of additive OpenAI-compatible chat completion request parameters after re-vendoring openapi.yaml from inference-gateway/schemas#71.

Gateway PR: inference-gateway/inference-gateway#390

User-facing change: POST /v1/chat/completions now accepts and forwards these request fields to providers (previously they were silently dropped):

  • temperature, top_p, n
  • frequency_penalty, presence_penalty
  • seed
  • logprobs, top_logprobs
  • response_format (text / json_schema / json_object)
  • tool_choice (none / auto / required / named tool)
  • logit_bias
  • user
  • reasoning_effort (minimal / low / medium / high)
  • max_completion_tokens
  • parallel_tool_calls

max_tokens is now deprecated in favor of max_completion_tokens.

Affected pages: the API reference for chat completions request parameters, and any "supported parameters" table.

This issue tracks documenting these parameters.

Activity

  1. added
    documentation
    on Jun 18, 2026
  2. added theissue type on Jun 18, 2026
  3. edenreich commented on Jun 18, 2026

    @edenreich
    Contributor

    @claude Can you work on this?

  4. inference-gateway-maintainer commented on Jun 18, 2026

    @inference-gateway-maintainer
    ContributorAuthor

    Claude finished @edenreich's task in 9m 19s —— View job • docs/issue-242-20260618-2311 • [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-242-20260618-2311?quick_pull=1&title=Issue%20%23242%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23242%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)


    Documenting newly forwarded chat completion parameters

    Opened PR #258.

    Findings: Auditing the docs against the issue's parameter list showed that almost all of these fields were already documented from prior incremental PRs - api-reference.md carries the full CreateChatCompletionRequest parameter table (temperature, top_p, n, frequency_penalty, presence_penalty, seed, logprobs, top_logprobs, response_format, tool_choice, logit_bias, user, reasoning_effort, max_completion_tokens) including the max_tokens deprecation, and sdks.md covers the same set for the Python, TypeScript, and Rust SDKs. The single field still undocumented everywhere was parallel_tool_calls.

    What changed:

    • api-reference.md - added parallel_tool_calls to the CreateChatCompletionRequest parameter table and a note in the "Controlling Tool Selection" prose.
    • sdks.md - added ParallelToolCalls to the Go SDK request-parameters table and a one-line note in the Go "Tool choice" section, matching the existing Python/TypeScript/Rust coverage.

    Verification: bun run lint:md, bun run format:check, and bun run build all pass.

    Todo:

    • Read the issue and gather context from the codebase
    • Locate the chat completions API reference / supported parameters docs
    • Audit which parameters are already documented vs missing
    • Add parallel_tool_calls to the api-reference.md request table + tool-selection prose
    • Add ParallelToolCalls to the Go SDK request-parameters table in sdks.md (+ tool-choice prose)
    • Run lint/format/build checks (all pass)
    • Commit changes and open a PR

    Not done / notes: No other "supported parameters" tables exist beyond api-reference.md and sdks.md, so nothing else needed updating. The remaining parameters from the issue were already present, so this PR only fills the parallel_tool_calls gap rather than re-adding existing rows. Since this work is in inference-gateway/docs itself and is documentation-only, no downstream follow-up issues were filed.

    --- | Branch: docs/issue-242-20260618-2311 | PR #258

  5. moved this from Todo to In progress in 2026on Jun 18, 2026
  6. moved this from In progress to QA in 2026on Jun 18, 2026
  7. moved this from QA to Done in 2026on Jun 18, 2026
  8. inference-gateway-releaser commented on Jun 24, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.6.113 🎉

    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