diff --git a/src/lib/aiProviderPresets.ts b/src/lib/aiProviderPresets.ts index a0888427..108a2fc9 100644 --- a/src/lib/aiProviderPresets.ts +++ b/src/lib/aiProviderPresets.ts @@ -4,6 +4,7 @@ export interface PresetProvider { baseURL: string; apiKeysURL?: string; nostr?: boolean; + tosURL?: string; } export const AI_PROVIDER_PRESETS: PresetProvider[] = [ @@ -11,6 +12,7 @@ export const AI_PROVIDER_PRESETS: PresetProvider[] = [ id: "shakespeare", name: "Shakespeare AI", baseURL: "https://ai.shakespeare.diy/v1", + tosURL: "https://ai.shakespeare.diy/terms", nostr: true, }, { @@ -18,42 +20,49 @@ export const AI_PROVIDER_PRESETS: PresetProvider[] = [ name: "OpenRouter", baseURL: "https://openrouter.ai/api/v1", apiKeysURL: "https://openrouter.ai/settings/keys", + tosURL: "https://openrouter.ai/terms", }, { id: "ppq", name: "PayPerQ", baseURL: "https://api.ppq.ai", apiKeysURL: "https://ppq.ai/api-docs", + tosURL: "https://ppq.ai/terms", }, { id: "routstr", name: "Routstr", baseURL: "https://api.routstr.com/v1", apiKeysURL: "https://chat.routstr.com/", + tosURL: "https://routstr.com/terms", }, { id: "zai", name: "Z.ai", baseURL: "https://api.z.ai/api/paas/v4", apiKeysURL: "https://z.ai/manage-apikey/apikey-list", + tosURL: "https://docs.z.ai/legal-agreement/terms-of-use", }, { id: "openai", name: "OpenAI", baseURL: "https://api.openai.com/v1", apiKeysURL: "https://platform.openai.com/api-keys", + tosURL: "https://openai.com/policies/", }, { id: "anthropic", name: "Anthropic", baseURL: "https://api.anthropic.com/v1", apiKeysURL: "https://console.anthropic.com/settings/keys", + tosURL: "https://www.anthropic.com/legal/", }, { id: "xai", name: "xAI", baseURL: "https://api.x.ai/v1", apiKeysURL: "https://console.x.ai", + tosURL: "https://x.ai/legal", }, ];