MCPcopy Create free account
hub / github.com/CommandCodeAI/BaseAI / joinDocs

Method joinDocs

packages/baseai/src/utils/memory/chunker.ts:69–72  ·  view source on GitHub ↗
(docs: string[], separator: string)

Source from the content-addressed store, hash-verified

67 }
68
69 private joinDocs(docs: string[], separator: string): string | null {
70 const text = docs.join(separator).trim();
71 return text === '' ? null : text;
72 }
73
74 async createChunks(content: string): Promise<string[]> {
75 const chunks = await this.splitText(content);

Callers 1

mergeSplitsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected