getResponse abstract method

Future<ChatResponse> getResponse(
  1. String responseId, {
  2. List<String>? include,
  3. int? startingAfter,
  4. bool stream = false,
})

Retrieve a model response by ID

This allows you to fetch a previously created response using its ID. Useful for stateful conversations and response chaining.

Implementation

Future<ChatResponse> getResponse(
  String responseId, {
  List<String>? include,
  int? startingAfter,
  bool stream = false,
});