Skip to content

docs: make gateway examples and policy provider-neutral - #528

Open
robgruen wants to merge 1 commit into
mainfrom
vendor-neutral-gateway-docs
Open

robgruen wants to merge 1 commit into
mainfrom
vendor-neutral-gateway-docs

Conversation

@robgruen

Copy link
Copy Markdown
Contributor

Summary

  • Propose N6: A directory or promotional channel for commercial providers. Document integration mechanisms rather than cataloging or endorsing gateway services, while retaining provider names where they identify APIs or adapters TypeChat implements.
  • Replace OrcaRouter/OpenRouter references in the examples guide and both language guides with fictional Adatum gateway examples using https://api.adatum.com/v1/chat/completions.
  • Clearly identify the destination as a placeholder, not a live service, and direct readers to use their gateway's actual endpoint, API key, and model name.

Context and scope

Owner-requested follow-up to #527 and the documentation-policy discussion. Apply the same vendor-neutral standard to existing named examples rather than adding another commercial gateway listing.

This changes documentation and proposes an explicit project non-goal; it does not remove OpenAI-compatible gateway support or change library APIs, validation, dependencies, or supported integrations. OpenAI/Azure OpenAI API and adapter documentation remains appropriate. Historical assessment reports are unchanged.

The new non-goal is proposed policy until owner approval and merge; this PR does not close #527.

Validation

Using the repository-pinned Node.js 24.22.1:

  • site: npm run build — passed; 13 pages generated.
  • tools: node --test --test-name-pattern "project direction|direction policy" tests/backlog-assessment.test.mjs — 2 passed.
  • Checked all three gateway guides, all five placeholder URLs, complete configuration fields, and the N6 compatibility boundary.
  • Checked rendered gateway pages and confirmed the current documentation contains no OrcaRouter/OpenRouter listings.
  • git diff --check — passed.

No live gateway requests are needed or made for fictional examples.

Replace named gateway examples with fictional Adatum placeholders and add N6 to keep documentation focused on integration mechanisms rather than provider directories or promotion.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 10, 2026 22:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

GOALS.md adds a new project non-goal requiring @robgruen’s explicit approval, but the linked discussion requests the proposal without approving its final wording.

No open issues 🎉

What changed in this PR

Makes gateway documentation provider-neutral while preserving OpenAI-compatible endpoint support. The proposed policy remains subject to owner approval and merge; library behavior and APIs are unchanged.

Changes:

  • Proposes N6 to favor integration guidance over commercial provider listings, while retaining names needed to explain implemented APIs and adapters.
  • Replaces named gateway examples with clearly marked fictional Adatum endpoints.
  • Clarifies that users must supply their gateway’s actual URL, API key, and model name.
File Description
site/​src/​docs/​typescript/​basic-usage.md Uses fictional gateway URLs in TypeScript and environment configuration examples.
site/​src/​docs/​python/​basic-usage.md Uses fictional gateway URLs in Python and environment configuration examples.
site/​src/​docs/​examples.md Provides a complete, provider-neutral gateway configuration with placeholder guidance.
GOALS.md Proposes N6 while explicitly preserving compatible endpoint support.

Review effort: Balanced

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants