forkConversation method
Fork a conversation from a specific response
Creates a new conversation branch starting from the specified response. Useful for exploring different conversation paths.
Implementation
@override
Future<ChatResponse> forkConversation(
String fromResponseId,
List<ChatMessage> newMessages, {
List<Tool>? tools,
bool background = false,
}) async {
// Fork is the same as continue for OpenAI Responses API
return continueConversation(fromResponseId, newMessages,
tools: tools, background: background);
}