llm/llm_chat_session library
Classes
- ChatTool
- The host explicitly registers tools and validates their business arguments.
- LlmChatSession
- Each instance owns independent context, cancellation and permissions. Only completed turns enter future requests. Tools execute in the host.
Typedefs
-
ChatToolExecutor
= Future<
String> Function(Map<String, Object?> arguments, ChatCancellation cancellation)