mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-23 04:09:49 +00:00
Initial commit
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
// App configuration
|
||||
export const APP_CONFIG = {
|
||||
name: "Endpoint Proxy",
|
||||
description: "AI Infrastructure Management",
|
||||
version: "1.0.0",
|
||||
};
|
||||
|
||||
// Theme configuration
|
||||
export const THEME_CONFIG = {
|
||||
storageKey: "theme",
|
||||
defaultTheme: "system", // "light" | "dark" | "system"
|
||||
};
|
||||
|
||||
// Subscription
|
||||
export const SUBSCRIPTION_CONFIG = {
|
||||
price: 1.0,
|
||||
currency: "USD",
|
||||
interval: "month",
|
||||
planName: "Pro Plan",
|
||||
};
|
||||
|
||||
// API endpoints
|
||||
export const API_ENDPOINTS = {
|
||||
users: "/api/users",
|
||||
providers: "/api/providers",
|
||||
payments: "/api/payments",
|
||||
auth: "/api/auth",
|
||||
};
|
||||
|
||||
// Provider API endpoints (for display only)
|
||||
export const PROVIDER_ENDPOINTS = {
|
||||
openrouter: "https://openrouter.ai/api/v1/chat/completions",
|
||||
glm: "https://api.z.ai/api/anthropic/v1/messages",
|
||||
kimi: "https://api.kimi.com/coding/v1/messages",
|
||||
minimax: "https://api.minimax.io/anthropic/v1/messages",
|
||||
openai: "https://api.openai.com/v1/chat/completions",
|
||||
anthropic: "https://api.anthropic.com/v1/messages",
|
||||
gemini: "https://generativelanguage.googleapis.com/v1beta/models",
|
||||
};
|
||||
|
||||
// Re-export from providers.js for backward compatibility
|
||||
export {
|
||||
OAUTH_PROVIDERS,
|
||||
APIKEY_PROVIDERS,
|
||||
AI_PROVIDERS,
|
||||
AUTH_METHODS,
|
||||
} from "./providers.js";
|
||||
|
||||
// Re-export from models.js for backward compatibility
|
||||
export {
|
||||
PROVIDER_MODELS,
|
||||
AI_MODELS,
|
||||
} from "./models.js";
|
||||
Reference in New Issue
Block a user