Package-level declarations
Functions
Link copied to clipboard
Link copied to clipboard
inline suspend fun ToolCapable.chatWithToolsCatching(request: ChatRequest, autoExecute: Boolean = true, maxSteps: Int? = null, currentStep: Int = 0, noinline onToolCall: ERROR CLASS: Symbol not found for ToolCapable.ToolCallCallback = null, noinline onToolExecutionFailed: ERROR CLASS: Symbol not found for ToolCapable.ToolExecutionFailedCallback = null): Result<ChatResponse>
Sends a chat request with tool support and wraps the result in a Result.
inline suspend fun ToolCapable.chatWithToolsCatching(autoExecute: Boolean = true, maxSteps: Int? = null, currentStep: Int = 0, noinline onToolCall: ERROR CLASS: Symbol not found for ToolCapable.ToolCallCallback = null, noinline onToolExecutionFailed: ERROR CLASS: Symbol not found for ToolCapable.ToolExecutionFailedCallback = null, noinline block: ChatRequestBuilder.() -> Unit): Result<ChatResponse>
Sends a chat request with tool support using the request DSL and wraps the result in a Result.