@just-every/ensemble
Version:
LLM provider abstraction layer with unified streaming interface
44 lines • 1.29 kB
JavaScript
export const FUNCTION_TIMEOUT_MS = 30000;
export const 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',
]);
export const STATUS_TRACKING_TOOLS = new Set(['get_running_tools', 'wait_for_running_tool', 'get_tool_status']);
export const MAX_RESULT_LENGTH = 5000;
export const SKIP_SUMMARIZATION_TOOLS = new Set(['read_source', 'get_page_content', 'read_file', 'list_files']);
export const 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