SUPPORTED_PROVIDER_TYPES (providers/supported-provider-types.ts)

autocontext · ts/src/providers/supported-provider-types.ts · typescript · Apache-2.0
ai

Constant list of supported provider types for AI services, exported as a TypeScript tuple.

// Source: https://github.com/greyhaven-ai/autocontext | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
export const SUPPORTED_PROVIDER_TYPES = [
  "anthropic",
  "openai",
  "openai-compatible",
  "ollama",
  "vllm",
  "hermes",
  "gemini",
  "mistral",
  "groq",
  "openrouter",
  "azure-openai",
  "claude-cli",
  "codex",
  "pi",
  "pi-rpc",
  "deterministic",
] as const;

export type SupportedProviderType = typeof SUPPORTED_PROVIDER_TYPES[number];

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

Get a free API key