if-ai / ComfyUI-IF_AI_tools

ComfyUI-IF_AI_tools is a set of custom nodes for ComfyUI that allows you to generate prompts using a local Large Language Model (LLM) via Ollama. This tool enables you to enhance your image generation workflow by leveraging the power of language models.
https://ko-fi.com/impactframes
474 stars 33 forks source link

No attribute "Keys" #85

Open algisju opened 1 month ago

algisju commented 1 month ago

After trying to install IF_AI_Tools, I get this error :

[ERROR] An error occurred while retrieving information for the 'IF_ChatPrompt' node. Traceback (most recent call last): File "C:\code\comfyui\ComfyUI\server.py", line 443, in get_object_info out[x] = node_info(x) ^^^^^^^^^^^^ File "C:\code\comfyui\ComfyUI\server.py", line 420, in node_info info['input'] = obj_class.INPUT_TYPES() ^^^^^^^^^^^^^^^^^^^^^^^ File "C:\code\comfyui\ComfyUI\custom_nodes\ComfyUI-IF_AI_tools\IFChatPromptNode.py", line 128, in INPUT_TYPES "stop_string": ([name for name in node.stop_strings.keys()], {}), ^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'list' object has no attribute 'keys'

Please let me know what did I miss and orient me for a solution,

Thanks

if-ai commented 1 month ago

probably need to move the IF_AI folder to the input folder inside the root of comfy like in step 3 on the readme installation instructions