UNPKG

@just-every/ensemble

Version:

LLM provider abstraction layer with unified streaming interface

47 lines 1.54 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TOOL_CONFIGS = exports.SKIP_SUMMARIZATION_TOOLS = exports.MAX_RESULT_LENGTH = exports.STATUS_TRACKING_TOOLS = exports.EXCLUDED_FROM_TIMEOUT_FUNCTIONS = exports.FUNCTION_TIMEOUT_MS = void 0; exports.FUNCTION_TIMEOUT_MS = 30000; exports.EXCLUDED_FROM_TIMEOUT_FUNCTIONS = new Set([ 'inspect_running_tool', 'wait_for_running_tool', 'terminate_running_tool', 'start_task', 'send_message', 'get_task_status', 'check_all_task_health', 'wait_for_running_task', 'read_source', 'write_source', 'read_file', 'write_file', 'list_directory', ]); exports.STATUS_TRACKING_TOOLS = new Set(['get_running_tools', 'wait_for_running_tool', 'get_tool_status']); exports.MAX_RESULT_LENGTH = 5000; exports.SKIP_SUMMARIZATION_TOOLS = new Set(['read_source', 'get_page_content', 'read_file', 'list_files']); exports.TOOL_CONFIGS = { read_source: { skipSummarization: true, maxLength: 10000, truncationMessage: '\n\n[Full output truncated: Use write_source(summary_id, file_path) to write full output to a file.]', }, get_page_content: { skipSummarization: true, maxLength: 10000, }, read_file: { skipSummarization: true, maxLength: 10000, }, run_shell_command: { maxLength: 5000, }, execute_code: { maxLength: 5000, }, debug_code: { maxLength: 5000, }, }; //# sourceMappingURL=tool_execution.js.map