Download src/services/compact/cachedMCConfig.ts from chenbhao/codev: direct link, hf CLI and curl.
- Browser
- Download file 472 Bytes
-
https://huggingface.co/chenbhao/codev/resolve/main/src/services/compact/cachedMCConfig.ts
- Command line
-
hf download hf://chenbhao/codev/src/services/compact/cachedMCConfig.ts
-
curl -L -o cachedMCConfig.ts https://huggingface.co/chenbhao/codev/resolve/main/src/services/compact/cachedMCConfig.ts
472 Bytes
| export type CachedMCConfig = { | |
| enabled: boolean | |
| triggerThreshold: number | |
| keepRecent: number | |
| supportedModels: string[] | |
| systemPromptSuggestSummaries: boolean | |
| } | |
| const DEFAULT_CACHED_MC_CONFIG: CachedMCConfig = { | |
| enabled: false, | |
| triggerThreshold: 12, | |
| keepRecent: 3, | |
| supportedModels: ['claude-opus-4-6', 'claude-sonnet-4-6'], | |
| systemPromptSuggestSummaries: false, | |
| } | |
| export function getCachedMCConfig(): CachedMCConfig { | |
| return DEFAULT_CACHED_MC_CONFIG | |
| } | |