refactor: move STRATEGY_LABELS to constants.js and make banner dynamic

Consolidate strategy configuration by moving STRATEGY_LABELS from
strategies/index.js to constants.js. Update startup banner to
dynamically display strategy options from SELECTION_STRATEGIES.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Badri Narayanan S
2026-01-18 12:59:33 +05:30
parent 5ae19a5b72
commit c8c7a5a8aa
3 changed files with 14 additions and 9 deletions

View File

@@ -121,6 +121,13 @@ export const MIN_SIGNATURE_LENGTH = 50; // Minimum valid thinking signature leng
export const SELECTION_STRATEGIES = ['sticky', 'round-robin', 'hybrid'];
export const DEFAULT_SELECTION_STRATEGY = 'hybrid';
// Strategy display labels
export const STRATEGY_LABELS = {
'sticky': 'Sticky (Cache Optimized)',
'round-robin': 'Round Robin (Load Balanced)',
'hybrid': 'Hybrid (Smart Distribution)'
};
// Gemini-specific limits
export const GEMINI_MAX_OUTPUT_TOKENS = 16384;
@@ -263,6 +270,7 @@ export default {
isThinkingModel,
OAUTH_CONFIG,
OAUTH_REDIRECT_URI,
STRATEGY_LABELS,
MODEL_FALLBACK_MAP,
TEST_MODELS,
DEFAULT_PRESETS,