Refactor config

This commit is contained in:
decolua
2026-03-12 16:20:46 +07:00
parent c893aeaa4d
commit b0c6b61398
35 changed files with 575 additions and 650 deletions

View File

@@ -2,7 +2,9 @@
import "./utils/proxyFetch.js";
// Config
export { PROVIDERS, OAUTH_ENDPOINTS, CACHE_TTL, DEFAULT_MAX_TOKENS, CLAUDE_SYSTEM_PROMPT, COOLDOWN_MS, BACKOFF_CONFIG } from "./config/constants.js";
export { PROVIDERS } from "./config/providers.js";
export { OAUTH_ENDPOINTS, CLAUDE_SYSTEM_PROMPT } from "./config/appConstants.js";
export { CACHE_TTL, DEFAULT_MAX_TOKENS, COOLDOWN_MS, BACKOFF_CONFIG } from "./config/runtimeConfig.js";
export {
PROVIDER_MODELS,
getProviderModels,