Provider Endpoints Config (constants/config.ts)

diegosouzapw-OmniRoute · src/shared/constants/config.ts · typescript · MIT
ai, infra, integration, tag:config, tag:providers, tag:constants

Exports a mapping of AI provider names to their API endpoint URLs for client configuration.

// Source: https://github.com/ai-integr8tor/diegosouzapw-OmniRoute | License: MIT | Copyright 2026 diegosouzapw
// Provided via justclaw.it.com; keep this notice with the code.
export { APP_CONFIG, THEME_CONFIG } from "./appConfig";

// Provider API endpoints (for display only)
export const PROVIDER_ENDPOINTS = {
  agentrouter: "https://agentrouter.org/v1/chat/completions",
  openrouter: "https://openrouter.ai/api/v1/chat/completions",
  dgrid: "https://api.dgrid.ai/v1/chat/completions",
  bai: "https://api.b.ai/v1/chat/completions",
  qiniu: "https://api.qnaigc.com/v1/chat/completions",
  glm: "https://api.z.ai/api/anthropic/v1/messages",
  glmt: "https://api.z.ai/api/anthropic/v1/messages",
  "bailian-coding-plan": "https://coding-intl.dashscope.aliyuncs.com/apps/anthropic/v1/messages",


... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key