MCPcopy Create free account
hub / github.com/CommandCodeAI/BaseAI / main

Function main

examples/nodejs/examples/pipe.run.ts:7–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5const pipe = new Pipe(pipeSummary());
6
7async function main() {
8 const userMsg = 'Who is an AI Engineer?';
9
10 const response = await pipe.run({
11 messages: [
12 {
13 role: 'user',
14 content: userMsg,
15 },
16 ],
17 });
18 console.log('response: ', response);
19}
20
21main();

Callers 1

pipe.run.tsFile · 0.70

Calls 2

runMethod · 0.80
logMethod · 0.80

Tested by

no test coverage detected