cancelResponse abstract method

Future<ChatResponse> cancelResponse(
  1. String responseId
)

Cancel a background response by ID

Only responses created with background=true can be cancelled. Returns the cancelled response object.

Implementation

Future<ChatResponse> cancelResponse(String responseId);