mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-05-19 08:00:25 +00:00
7 lines
298 B
TypeScript
7 lines
298 B
TypeScript
import type { BinaryDetectionOptions } from '$lib/types';
|
|
|
|
export const DEFAULT_BINARY_DETECTION_OPTIONS: BinaryDetectionOptions = {
|
|
prefixLength: 1024 * 10, // Check the first 10KB of the string
|
|
suspiciousCharThresholdRatio: 0.15, // Allow up to 15% suspicious chars
|
|
maxAbsoluteNullBytes: 2
|
|
};
|