Skip to content

feat(providers): add API Route built-in preset - #400

Merged
239573049 merged 1 commit into
AIDotNet:mainfrom
DennyHo0917:feat/api-route-provider
Sep 30, 2026
Merged

239573049 merged 1 commit into
AIDotNet:mainfrom
DennyHo0917:feat/api-route-provider

Conversation

@DennyHo0917

Copy link
Copy Markdown

Summary

API Route users currently need to configure its OpenAI-compatible endpoint manually. This adds an optional built-in preset using the existing OpenAI chat adapter and the current ginkgo leaf icon.

The preset starts disabled and uses deepseek-v4-flash, which is listed in API Route's public model catalog. Pricing and context limits are left unset rather than inferred from another provider.

I maintain API Route. Endpoint: https://global.api-route.com/v1; API keys: https://www.api-route.com/tokens.

Validation

  • dotnet test tests/OpenDeepWiki.Tests/OpenDeepWiki.Tests.csproj --no-restore --filter 'FullyQualifiedName~AiProviderPresetSeederTests' --verbosity quiet: 7 tests passed, covering catalog loading, idempotent seeding and migration behavior.
  • Existing preset definitions were preserved; the catalog now has 29 providers and 445 models.
  • git diff --check passed.
  • No authenticated inference or frontend build was run.

Icon

API Route ginkgo leaf icon

Signed-off-by: DennyHo0917 <149746199+DennyHo0917@users.noreply.github.com>
@239573049
239573049 merged commit 8f6ad3e into AIDotNet:main Sep 30, 2026
jiweiyeah added a commit to jiweiyeah/OpenDeepWiki that referenced this pull request Oct 6, 2026
Copies the api-route preset shape from AIDotNet#400: one gateway entry with no
per-model prices and defaultEnabled = false, plus the icon-map rows and the
two catalogue counts the seeder tests assert.
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