A system prompt cannot give the model filesystem access: it can only make it hallucinate file contents. The node now sends the tools in OpenAI `tools` form, runs whatever the model calls, feeds each result back as a `tool` message and loops until the model answers or max_tool_steps is reached. Toolsets: read (read_file/list_dir/search_files), read_command, read_write (+ write_file) and full. File tools are confined to path_root (default the ComfyUI directory) with realpath containment, so `..` and symlinks cannot escape. run_command is a persistent bash session where cd and export carry across calls of one execution; it runs as the ComfyUI user with no sandbox, so it is opt-in. Tool errors come back as text so the model can retry. With a toolset and an empty system_prompt the node injects an agent prompt naming the real host, root and enabled tools and forbidding invented file contents or command output. thinking now accumulates reasoning_content across steps. Stdlib only, no new dependency.
43 lines
1.4 KiB
JSON
43 lines
1.4 KiB
JSON
{
|
|
"name": "rocm-ninodes",
|
|
"display_name": "ROCm Ninodes",
|
|
"description": "ROCm-optimized nodes for ComfyUI: VAE decode, sampling (KSampler + SamplerCustomAdvanced), checkpoint/diffusion/GGUF/LoRA loaders, LTX2 prompt generation, Seed-VC voice conversion, and monitoring — tuned for AMD GPUs (gfx1151) with ROCm.",
|
|
"version": "2.3.31",
|
|
"author": "iGavroche",
|
|
"author_email": "nino2k@proton.me",
|
|
"repository": "https://github.com/iGavroche/rocm-ninodes",
|
|
"license": "MIT",
|
|
"nodes": [
|
|
"ROCmCheckpointLoader",
|
|
"ROCmDiffusionLoader",
|
|
"ROCmGGUFLoader",
|
|
"ROCmVAEDecode",
|
|
"ROCmVAEDecodeTiled",
|
|
"ROCmVAEPerformanceMonitor",
|
|
"ROCmKSampler",
|
|
"ROCmKSamplerAdvanced",
|
|
"ROCmSamplerCustomAdvanced",
|
|
"ROCmSamplerPerformanceMonitor",
|
|
"ROCmFluxBenchmark",
|
|
"ROCmMemoryOptimizer",
|
|
"ROCmLoRALoader",
|
|
"ROCmTextGenerateLTX2Prompt",
|
|
"ROCmLLMChat",
|
|
"ROCmH3EasyCache",
|
|
"ROCmSeedVoiceConversion",
|
|
"VedaSparseAttention",
|
|
"ROCMOptimizedVAEDecodeV2Phase3"
|
|
],
|
|
"dependencies": [
|
|
"numpy>=1.20.0",
|
|
"Pillow>=8.0.0",
|
|
"gguf>=0.7.0",
|
|
"safetensors>=0.4.0",
|
|
"librosa>=0.10.0",
|
|
"scipy>=1.10.0",
|
|
"transformers>=4.40.0",
|
|
"PyYAML>=6.0"
|
|
],
|
|
"comfyui_version": ">=0.0.1"
|
|
}
|