chore: retain the source code from the underlying tools (#756)

This commit is contained in:
Pavel Feldman
2025-07-24 17:08:35 -07:00
committed by GitHub
parent ecfa10448b
commit e934d5e23e
5 changed files with 25 additions and 20 deletions

View File

@@ -49,10 +49,11 @@ async function run(delegate: LLMDelegate) {
await client.connect(transport);
await client.ping();
let lastResult: string | undefined;
for (const task of tasks)
lastResult = await runTask(delegate, client, task);
console.log(lastResult);
for (const task of tasks) {
const messages = await runTask(delegate, client, task);
for (const message of messages)
console.log(`${message.role}: ${message.content}`);
}
await client.close();
}