Defines types, metadata, and utility functions for managing AI provider configurations, credentials, and connection statuses.
// Source: https://github.com/MemTensor/MemOS | 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.
// packages/shared/src/types/providerSettings.ts
export type ProviderId =
| 'anthropic'
| 'openai'
| 'google'
| 'xai'
| 'deepseek'
| 'zai'
| 'bedrock'
| 'ollama'
| 'openrouter'
| 'litellm';
export type ProviderCategory = 'classic' | 'aws' | 'local' | 'proxy' | 'hybrid';
export interface ProviderMeta {
id: ProviderId;
name: string;
category: ProviderCategory;
label: string; // "Service" or "Local Models"
logoKey: string; // For icon lookup
helpUrl?: string; // "How can I find it?" link
}
export const PROVIDER_META: Record<ProviderId, ProviderMeta> = {
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key