handoff method

Future<void> handoff(
  1. String conversationId
)

"Talk to a person": the conversation goes to the founder's Needs-human list and the AI stops answering it.

Implementation

Future<void> handoff(String conversationId) async {
  if (conversationId.startsWith(_localConv)) return;
  final r = await request('POST', '/support/v1/conversations/$conversationId/handoff', json: <String, Object?>{});
  final c = r['conversation'];
  if (c is Map) _upsertConversation(Conversation.fromJson(c.cast<String, Object?>()));
  _quiet(loadMessages(conversationId));
}