File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,11 @@ declare global {
233233 checkElementAccessibility ( selector : any , description ?: string ) ;
234234
235235 /**
236- * enqueue a request to mock AI Agent response
236+ * Enqueue a request to mock AI Agent response
237+ *
238+ * @param args.content The full content of the AI Agent response to be sent in chunks on next user message.
239+ * @param args.chunkSize (optional) The size of each chunk to be sent. This simulates a streaming response.
240+ * If not provided, the full content will be sent at once.
237241 */
238242 enqueueAIAgentResponse ( args : { content : string , chunkSize ?: number } ) : Chainable ;
239243 }
Original file line number Diff line number Diff line change 11{
22 "name" : " mock-agent" ,
33 "version" : " 1.0.0" ,
4+ "description" : " A mock AI agent server for testing purposes." ,
45 "scripts" : {
56 "mock:agent:start" : " npx ts-node -P tsconfig.json index.ts"
67 },
You can’t perform that action at this time.
0 commit comments