MCPcopy Index your code
hub / github.com/forloopcodes/contextplus / getMaxEmbedFileSize

Function getMaxEmbedFileSize

src/tools/semantic-search.ts:65–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63}
64
65function getMaxEmbedFileSize(): number {
66 return Math.max(1024, toIntegerOr(process.env.CONTEXTPLUS_MAX_EMBED_FILE_SIZE, DEFAULT_MAX_EMBED_FILE_SIZE));
67}
68
69function extractPlainTextHeader(content: string): string {
70 const lines = content.split("\n");

Callers 1

Calls 1

toIntegerOrFunction · 0.70

Tested by

no test coverage detected