Skip to content

Commit 2c37313

Browse files
authored
fix: agent searching for itself in browseAgent (#8)
1 parent 631ddac commit 2c37313

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/acpClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ class AcpClient {
175175
}
176176

177177
async browseAgent(keyword: string, cluster?: string) {
178-
let url = `${this.acpUrl}/api/agents?search=${keyword}&filters[walletAddress][$neq]=${this.acpContractClient.walletAddress}`;
178+
let url = `${this.acpUrl}/api/agents?search=${keyword}&filters[walletAddress][$notIn]=${this.acpContractClient.walletAddress}`;
179179
if (cluster) {
180180
url += `&filters[cluster]=${cluster}`;
181181
}

0 commit comments

Comments
 (0)