ModelVendor (models/constants.ts)

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

Defines supported model vendors and labels for LLM routing.

// Source: https://github.com/freestylefly/wesight | License: MIT | Copyright 2026 WeSight
// Provided via justclaw.it.com; keep this notice with the code.
// Model manufacturers are independent of the provider used to route requests.
export const ModelVendor = {
  OpenAI: 'openai',
  Google: 'google',
  Anthropic: 'anthropic',
  DeepSeek: 'deepseek',
  Moonshot: 'moonshot',
  Qwen: 'qwen',
  Zhipu: 'zhipu',
  Minimax: 'minimax',
  Meta: 'meta',
  Mistral: 'mistral',
  XAI: 'xai',
  Volcengine: 'volcengine',
  Xiaomi: 'xiaomi',
  StepFun: 'stepfun',
  Other: 'other',
} as const;
export type ModelVendor = typeof ModelVendor[keyof typeof ModelVendor];

export const MODEL_VENDOR_LABELS: Record<ModelVendor, string> = {
  [ModelVendor.OpenAI]: 'OpenAI',
  [ModelVendor.Google]: 'Google',
  [Mode

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

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

Get a free API key