Variable: defaultFilterThoughts
ts
const defaultFilterThoughts: (
thoughts: Iterable<Thought>,
mode: "all-self" | "latest-self" | "all",
selfIdentity: string,
replayCompatibility: readonly string[],
) => Thought[] = filterThoughts;Defined in: batteries/llm/chat_common/helpers.ts:486
Default thought filter; alias of filterThoughts.
Implements ChatHelpersCommon.filterThoughts.
Parameters
| Parameter | Type |
|---|---|
thoughts | Iterable<Thought> |
mode | "all-self" | "latest-self" | "all" |
selfIdentity | string |
replayCompatibility | readonly string[] |
Returns
Thought[]