diff --git a/README.md b/README.md index c509f96..7c81280 100644 --- a/README.md +++ b/README.md @@ -40,3 +40,4 @@ Warning: Because of the ability to link ANY node, you have to make sure it nails - Some sort of type context map for it's coding abilities - Ability to make more complex nodes that use inputs like MODEL, VAE and CLIP with input type awareness - A more complete system prompt +- Error Mitigation (You to LLM: Fix it yourself!) \ No newline at end of file diff --git a/nodes/any.py b/nodes/any.py index 5af466e..956a91d 100644 --- a/nodes/any.py +++ b/nodes/any.py @@ -66,7 +66,6 @@ class AnyNode: model="gpt-4o", # Use the model of your choice, e.g., gpt-4 or gpt-3.5-turbo messages=[ {"role": "system", "content": "You are an expert python coder who specializes in writing custom nodes for ComfyUI. Your job is to code the user's requested node given the input and desired output type. Code only the contents of the function itself. Respond with only the code in a function named generated_function that takes one argument named 'input_data'.\n\n```python\n"}, - #{"role": "system", "content": "You are an expert python coder who specializes in writing custom nodes for ComfyUI. Your job is to code the user's requested node given the input and desired output type. Code only the contents of the function itself. Respond with only the code in a function named generated_function\n\n```python\n"}, {"role": "user", "content": prompt} ] )