Repository navigation
feat: add API Route provider template - #1548
akramcodez merged 3 commits into
Conversation
nc-review: nothing to raise@DennyHo0917 — nothing to raise from the automated review. Adds an API Route provider template using the existing 🔴 blocking · 🟠 a reviewer would ask for a change · ⚪ optional Automated code review — correctness, security, design, tests, plus duplicates and scope. A human still decides; this is not a substitute for review and is not exhaustive. The required status checks separately cover lint, formatting, types, unused dependencies, the test suite and the build. This bot never merges. Maintainers can rerun with |
|
Amazing work, thanks for the PR @DennyHo0917 |
Description
Add API Route as a first-class template in the provider setup wizard. It uses the existing OpenAI-compatible client with the fixed
https://global.api-route.com/v1endpoint and an editable model ID, so no new SDK integration is needed.This follows the recently merged Cheaper Inference template and includes provider documentation, a changeset, and focused tests.
Type of Change
Testing
pnpm test:ava source/wizards/templates/provider-templates.spec.ts— 47 passedpnpm test:types— passedpnpm exec biome checkon changed source and docs — passedgit diff --check— passedNo live API Route account or Nanocoder chat session was available for an end-to-end request. The new tests cover template construction, model parsing, and the fixed endpoint.
Changeset