BaseFutureToolset
Java-friendly base for implementing a Toolset -- a dynamically resolved group of tools. Both engine methods are suspend; a Java subclass returns CompletableFutures instead. Return each future promptly and do any blocking work inside it, not before returning it. processLlmRequest defaults to returning the request unchanged; override processLlmRequestAsync to rewrite it.
Functions
Link copied to clipboard
Return all tools in the toolset based on the provided context.
Link copied to clipboard
suspend override fun processLlmRequest(toolContext: ToolContext, llmRequest: LlmRequest): LlmRequest
Allows the toolset to process the LLM request.