ProviderName (providers/constants.ts)

wesight · src/shared/providers/constants.ts · typescript · MIT
ai

Central registry of LLM provider identifiers, URLs, and settings.

// Source: https://github.com/freestylefly/wesight | License: MIT | Copyright 2026 WeSight
// Provided via justclaw.it.com; keep this notice with the code.
import { OpenLux } from '../openlux/constants';
import { TOKEN_DANCE_MODELS, TokenDance } from '../tokendance/constants';

/**
 * Provider Constants & Registry — Single Source of Truth
 *
 * All LLM provider identifiers, default configurations, and metadata are
 * defined here as a unified registry. Both main and renderer processes
 * import from this module.
 *
 * When adding a new provider:
 * 1. Add the provider key to ProviderName
 * 2. Add the OpenClaw provider ID to OpenClawProviderId (if different)
 * 3. Add one record to the PROVIDER_DEFINITIONS array
 *    — that's it, types and lookups are derived automatically.
 *
 * Follows 

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

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

Get a free API key