@@ -111,7 +111,7 @@ describe("AcpClient Integration Testing", () => {
111111 it ( "should browse agents with keyword" , async ( ) => {
112112 const keyword = "trading" ;
113113 const options = {
114- top_k : 5 ,
114+ topK : 5 ,
115115 } ;
116116
117117 const result = await acpClient . browseAgents ( keyword , options ) ;
@@ -158,7 +158,7 @@ describe("AcpClient Integration Testing", () => {
158158 it ( "should return job offerings as AcpJobOffering instances" , async ( ) => {
159159 const keyword = "agent" ;
160160 const options = {
161- top_k : 5 ,
161+ topK : 5 ,
162162 } ;
163163
164164 const result = await acpClient . browseAgents ( keyword , options ) ;
@@ -185,7 +185,7 @@ describe("AcpClient Integration Testing", () => {
185185 it ( "should filter out own wallet address" , async ( ) => {
186186 const keyword = "agent" ;
187187 const options = {
188- top_k : 10 ,
188+ topK : 10 ,
189189 } ;
190190
191191 const result = await acpClient . browseAgents ( keyword , options ) ;
@@ -203,7 +203,7 @@ describe("AcpClient Integration Testing", () => {
203203 it ( "should filter by contract address" , async ( ) => {
204204 const keyword = "agent" ;
205205 const options = {
206- top_k : 10 ,
206+ topK : 10 ,
207207 } ;
208208
209209 const result = await acpClient . browseAgents ( keyword , options ) ;
@@ -235,8 +235,8 @@ describe("AcpClient Integration Testing", () => {
235235 it ( "should handle search with sort options" , async ( ) => {
236236 const keyword = "trading" ;
237237 const options = {
238- top_k : 5 ,
239- sort_by : [ AcpAgentSort . SUCCESSFUL_JOB_COUNT ] ,
238+ topK : 5 ,
239+ sortBy : [ AcpAgentSort . SUCCESSFUL_JOB_COUNT ] ,
240240 } ;
241241
242242 const result = await acpClient . browseAgents ( keyword , options ) ;
@@ -274,7 +274,7 @@ describe("AcpClient Integration Testing", () => {
274274 it ( "should return empty or minimal results for non-existent keyword" , async ( ) => {
275275 const keyword = "thiskeywordisnotakeyworddonotreturnanyagents" ;
276276 const options = {
277- top_k : 5 ,
277+ topK : 5 ,
278278 } ;
279279
280280 const result = await acpClient . browseAgents ( keyword , options ) ;
0 commit comments