MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / toolTexts

Function toolTexts

packages/agent-core/test/agent/compaction/micro.test.ts:950–954  ·  view source on GitHub ↗
(messages: readonly Message[])

Source from the content-addressed store, hash-verified

948}
949
950function toolTexts(messages: readonly Message[]): string[] {
951 return messages
952 .filter((message) => message.role === 'tool')
953 .map((message) => textOf(message));
954}
955
956function textOf(message: Message | undefined): string {
957 return (

Callers 2

micro.test.tsFile · 0.85
hasMarkerFunction · 0.85

Calls 1

textOfFunction · 0.70

Tested by

no test coverage detected