mirror of
https://github.com/tiennm99/ccs.git
synced 2026-09-02 12:19:35 +00:00
fix(cliproxy): pin version to 6.7.25, add disable-cooling
- Update fallbackVersion: 6.7.8 → 6.7.25 (original) - Update fallbackVersion: 6.7.8-0 → 6.7.25-0 (plus) - Add disable-cooling: true to generated config - Bump CLIPROXY_CONFIG_VERSION to 5 for regeneration
This commit is contained in:
@@ -286,8 +286,9 @@ export function getCliproxyWritablePath(): string {
|
|||||||
* v2: Full-featured config with dashboard, quota mgmt, simplified key
|
* v2: Full-featured config with dashboard, quota mgmt, simplified key
|
||||||
* v3: Logging disabled by default (user opt-in via ~/.ccs/config.yaml)
|
* v3: Logging disabled by default (user opt-in via ~/.ccs/config.yaml)
|
||||||
* v4: Added Kiro (AWS) and GitHub Copilot providers
|
* v4: Added Kiro (AWS) and GitHub Copilot providers
|
||||||
|
* v5: Added disable-cooling: true for stability
|
||||||
*/
|
*/
|
||||||
export const CLIPROXY_CONFIG_VERSION = 4;
|
export const CLIPROXY_CONFIG_VERSION = 5;
|
||||||
|
|
||||||
/** Provider display names (static metadata) */
|
/** Provider display names (static metadata) */
|
||||||
const PROVIDER_DISPLAY_NAMES: Record<CLIProxyProvider, string> = {
|
const PROVIDER_DISPLAY_NAMES: Record<CLIProxyProvider, string> = {
|
||||||
@@ -471,6 +472,9 @@ remote-management:
|
|||||||
# Reliability & Quota Management
|
# Reliability & Quota Management
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
|
|
||||||
|
# Disable quota cooldown scheduling for stability
|
||||||
|
disable-cooling: true
|
||||||
|
|
||||||
# Auto-retry on transient errors (403, 408, 500, 502, 503, 504)
|
# Auto-retry on transient errors (403, 408, 500, 502, 503, 504)
|
||||||
request-retry: 0
|
request-retry: 0
|
||||||
max-retry-interval: 0
|
max-retry-interval: 0
|
||||||
|
|||||||
@@ -19,13 +19,13 @@ export const BACKEND_CONFIG = {
|
|||||||
repo: 'router-for-me/CLIProxyAPI',
|
repo: 'router-for-me/CLIProxyAPI',
|
||||||
binaryPrefix: 'CLIProxyAPI',
|
binaryPrefix: 'CLIProxyAPI',
|
||||||
executable: 'cli-proxy-api',
|
executable: 'cli-proxy-api',
|
||||||
fallbackVersion: '6.7.8',
|
fallbackVersion: '6.7.25',
|
||||||
},
|
},
|
||||||
plus: {
|
plus: {
|
||||||
repo: 'router-for-me/CLIProxyAPIPlus',
|
repo: 'router-for-me/CLIProxyAPIPlus',
|
||||||
binaryPrefix: 'CLIProxyAPIPlus',
|
binaryPrefix: 'CLIProxyAPIPlus',
|
||||||
executable: 'cli-proxy-api-plus',
|
executable: 'cli-proxy-api-plus',
|
||||||
fallbackVersion: '6.7.8-0',
|
fallbackVersion: '6.7.25-0',
|
||||||
},
|
},
|
||||||
} as const;
|
} as const;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user