fix: long track name displaying issue; wrong separator model name mapping; imported generated full song not adjusting max bars; implemented retry mechanism for K.G.One server calls.

This commit is contained in:
Xiaohan-Tian
2026-04-16 17:44:44 -07:00
parent 7b82572d5c
commit 3010cf4e2d
8 changed files with 377 additions and 54 deletions
+6
View File
@@ -108,3 +108,9 @@ export const CONFIG_UPGRADER_CONSTANTS = {
export const URL_CONSTANTS = {
DEFAULT_OPENAI_BASE_URL: 'https://api.openai.com/v1',
};
export const KGONE_CONSTANTS = {
MAX_RETRY_ATTEMPTS: 3, // max retries for polling & download calls
RETRY_INITIAL_DELAY_MS: 1000, // first wait before retry (ms)
RETRY_BACKOFF_MULTIPLIER: 2, // doubles each attempt: 1 s → 2 s → 4 s
};