MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / readResult

Function readResult

test/read-cache.test.ts:12–14  ·  view source on GitHub ↗
(id: string, content: string)

Source from the content-addressed store, hash-verified

10 };
11}
12function readResult(id: string, content: string): Message {
13 return { role: 'tool', tool_call_id: id, name: 'read_file', content };
14}
15
16const MARK = '[QodeX context-cache]';
17const isStub = (m: Message) => typeof m.content === 'string' && m.content.startsWith(MARK);

Callers 1

read-cache.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected