llmoutputhandler
codebolt.codeboltutils.LLMOutputHandler(): voidProcesses the AI model's response, manages tool executions, handles user communication, and detects when the task is completed.
Note: The
LLMOutputHandlerutility class is planned/aspirational and not yet available in the codebase. The@codebolt/codeboltjs/utilsimport path does not exist yet. This documentation is a placeholder for a future implementation.
Planned Usage
const codebolt = require('@codebolt/codeboltjs').default;
// Note: This import path does not exist yet
// const { LLMOutputHandler } = require("@codebolt/codeboltjs/utils");
// Placeholder for future implementation
Planned Methods
sendMessageToUser(): Sends the AI model's response message to the userrunTools(): Executes any tools that were called by the AI model and returns the resultsisCompleted(): Checks if the current task has been completed based on the AI's response