Skip to content

docs: document offline provider-docs regeneration in AGENTS.md - #465

Merged
edenreich merged 1 commit into
mainfrom
agents-md-offline-regen
Jul 22, 2026
Merged

edenreich merged 1 commit into
mainfrom
agents-md-offline-regen

Conversation

@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

What

Adds a short "Regenerating provider docs offline" section to AGENTS.md: how to do a real provider-docs regen when outbound network is blocked (fetch the schema with an authenticated API call, run the generator with the --schema-file= argument, then prettier and bun test), plus the two fixture / override gotchas and the .schema.yaml cleanup.

Why

This is long-term guidance that was living only in the maintainer bot's private memory. AGENTS.md and CLAUDE.md tell agents to run task generate and never hand-edit the GENERATED:* regions, but neither says what to do when task generate cannot reach the network. Documenting it in the repo means any agent (or human) working offline hits the same reliable path instead of hand-editing generated regions.

Kept intentionally minimal (ponytail pass): the regen steps plus the two gotchas, no new tooling.

Notes

  • CLAUDE.md has a parallel "Provider docs are generated from the canonical OpenAPI schema" section; maintainers may want to cross-reference the offline path there too.
  • Once this merges, the docs-specific part of the maintainer bot's inference-gateway-ci-sandbox memory (the --schema-file= regen recipe, the fixture and adkKeyNote gotchas, the .schema.yaml cleanup) is redundant and can be trimmed from memory.

@inference-gateway-maintainer
inference-gateway-maintainer Bot requested a review from a team as a code owner July 22, 2026 19:00
@edenreich
edenreich merged commit 4ee83aa into main Jul 22, 2026
1 check passed
@edenreich
edenreich deleted the agents-md-offline-regen branch July 22, 2026 19:33
inference-gateway-releaser Bot added a commit that referenced this pull request Jul 22, 2026
## [0.9.4](0.9.3...0.9.4) (2026-07-22)

### 📚 Documentation

* add model routing guide and ROUTING_* config ([#466](#466)) ([aea7023](aea7023))
* **adk:** document contextId-based artifact storage layout and URL pattern ([#461](#461)) ([9971738](9971738))
* **adk:** document MCP client and MCP_* configuration ([#463](#463)) ([1687f99](1687f99))
* note offline provider-docs regen in AGENTS.md ([#465](#465)) ([4ee83aa](4ee83aa))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.9.4 🎉

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.

1 participant