Download apps/vscode/webview-ui/src/services/config.ts from SaylorTwift/kimi-code: direct link, hf CLI and curl.
- Browser
- Download file 808 Bytes
-
https://huggingface.co/SaylorTwift/kimi-code/resolve/main/apps/vscode/webview-ui/src/services/config.ts
- Command line
-
hf download hf://SaylorTwift/kimi-code/apps/vscode/webview-ui/src/services/config.ts
-
curl -L -o config.ts https://huggingface.co/SaylorTwift/kimi-code/resolve/main/apps/vscode/webview-ui/src/services/config.ts
808 Bytes
| export const IMAGE_CONFIG = { | |
| maxSizeBytes: 5 * 1024 * 1024, | |
| maxDimension: 4096, | |
| compressThresholdBytes: 5 * 1024 * 1024, | |
| targetCompressedBytes: 2 * 1024 * 1024, | |
| allowedTypes: ["image/png", "image/jpeg", "image/gif", "image/webp", "image/heic", "image/heif"] as const, | |
| } as const; | |
| export const IMAGE_EXTENSIONS = new Set(["png", "jpg", "jpeg", "gif", "webp", "heic", "heif", "svg", "bmp"]); | |
| export const VIDEO_CONFIG = { | |
| maxSizeBytes: 40 * 1024 * 1024, | |
| allowedTypes: ["video/mp4", "video/webm", "video/quicktime"] as const, | |
| } as const; | |
| export const VIDEO_EXTENSIONS = new Set(["mp4", "webm", "mov"]); | |
| export const MEDIA_CONFIG = { | |
| maxCount: 9, | |
| maxTotalBytes: 80 * 1024 * 1024, | |
| } as const; | |
| export const FILE_PICKER_CONFIG = { | |
| maxSearchResults: 30, | |
| maxDisplayLength: 25, | |
| } as const; | |