Function: chunkTurns()
chunkTurns(
turns,options?):TurnChunk[]
Defined in: packages/agentos/src/cognition/library/chunkTurns.ts:52
Cuts turns into passages, in order. Turns that are empty or white space alone are left out. Every passage after the first holds at least one turn the passage before did not.
Parameters
turns
readonly LibraryTurn[]
options?
ChunkTurnsOptions = {}