Skip to content

docs(api-reference): document community context-window fallback - #450

Merged
edenreich merged 1 commit into
mainfrom
docs/issue-448-20260720-2044
Jul 20, 2026
Merged

edenreich merged 1 commit into
mainfrom
docs/issue-448-20260720-2044

Conversation

@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

Summary

Documents the community context-window fallback from models.dev (inference-gateway/inference-gateway#472) in api-reference.md, alongside the existing community pricing docs:

  • Adds the community step to the context_window resolution order with precedence explained (runtime > provider > community > null)
  • Documents the sync task (task contextwindow:sync, separate from task pricing:sync) and the models.dev [limit] source
  • Notes the caveat that models.dev limits can be conservative or tier-specific, which is why runtime and provider values win
  • Documents explicit null for models absent from the community table (local providers by design)
  • Updates the Model schema table's context_window source values to runtime, provider, community

Closes #448

@inference-gateway-maintainer
inference-gateway-maintainer Bot requested a review from a team as a code owner July 20, 2026 20:45
@edenreich
edenreich merged commit be74471 into main Jul 20, 2026
1 check passed
@edenreich
edenreich deleted the docs/issue-448-20260720-2044 branch July 20, 2026 20:49
inference-gateway-releaser Bot added a commit that referenced this pull request Jul 22, 2026
## [0.9.3](0.9.2...0.9.3) (2026-07-22)

### 🐛 Bug Fixes

* **configuration:** update Z-AI API URL to match canonical schema ([#443](#443)) ([2ad9f95](2ad9f95))

### 📚 Documentation

* **api-reference:** document community context-window fallback ([#450](#450)) ([be74471](be74471))
* **api-reference:** document community pricing fallback ([#449](#449)) ([3504c8f](3504c8f))
* **api-reference:** document context_window resolution for GET /v1/models include param ([#445](#445)) ([ca01a1b](ca01a1b))
* **api-reference:** document include query parameter on GET /v1/models ([#442](#442)) ([566dd19](566dd19))
* **api-reference:** document include=pricing model pricing metadata on GET /v1/models ([#446](#446)) ([88f0573](88f0573))
* **api-reference:** document subscription field in pricing metadata ([#456](#456)) ([ae251c1](ae251c1))
* document llamacpp LLAMACPP_API_KEY bearer auth ([#437](#437)) ([c8cd256](c8cd256))
* **go-sdk:** document include=context_window on ListModels and ListProviderModels ([#452](#452)) ([ec3a520](ec3a520))
* **observability:** document tracing config env vars ([#459](#459)) ([60a2cc2](60a2cc2)), closes [#457](#457)
* **operator:** add GPU CRD reference page with spec, status, lifecycle, and Gateway consumption example ([#458](#458)) ([39c66e7](39c66e7))
* **operator:** add keyless Llamacpp Gateway CR example ([#431](#431)) ([2937e3c](2937e3c))
* **operator:** note llamacpp requires operator v0.19.0+ ([#433](#433)) ([eca2735](eca2735))
* **typescript-adk:** PascalCase MessageRole enum members ([#427](#427)) ([23d43bc](23d43bc))
* **typescript-sdk:** document listModels include parameter and model metadata fields ([#454](#454)) ([a0cfd8b](a0cfd8b))

### 🔧 Miscellaneous

* **deps-dev:** bump the bun group with 2 updates ([#435](#435)) ([cc8f36c](cc8f36c))
* **deps:** bump actions/setup-node in the github-actions group ([#434](#434)) ([53324e0](53324e0))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.9.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@inference-gateway-releaser inference-gateway-releaser Bot added the released Shipped in a release label Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Shipped in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOCS] Document community context-window fallback from models.dev

1 participant