MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / extract

Function extract

src/workspaces/agent-probe.ts:62–65  ·  view source on GitHub ↗
(msg: Anthropic.Message)

Source from the content-addressed store, hash-verified

60 : new Anthropic({ apiKey: input.apiKey, baseURL: input.baseUrl });
61
62 const extract = (msg: Anthropic.Message): string => msg.content
63 .filter((b): b is Anthropic.TextBlock => b.type === 'text')
64 .map((b) => b.text)
65 .join('');
66
67 try {
68 const msg = await client.messages.create({

Callers 3

pushFunction · 0.85
probeAnthropicFunction · 0.85
useConfigPageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected