Skip to content

Commit 5b455ba

Browse files
committed
feat: add browseAgent use case in examples
1 parent bee0b4c commit 5b455ba

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

examples/acp_base/external_evaluation/buyer.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ async function buyer() {
3434
},
3535
});
3636

37+
const relevantAgents = await acpClient.browseAgent("Meme generator");
38+
console.log("Relevant seller agents: ", relevantAgents);
39+
3740
const jobId = await acpClient.initiateJob(
3841
SELLER_WALLET_ADDRESS,
3942
"Meme generator",

examples/acp_base/self_evaluation/buyer.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ async function buyer() {
3838
},
3939
});
4040

41+
const relevantAgents = await acpClient.browseAgent("Meme generator");
42+
console.log("Relevant seller agents: ", relevantAgents);
43+
4144
const jobId = await acpClient.initiateJob(
4245
SELLER_WALLET_ADDRESS,
4346
"Meme generator",

0 commit comments

Comments
 (0)