more updates

This commit is contained in:
holonic
2024-05-25 18:48:57 +01:00
parent 149e5eb514
commit 80d95bafb0
2 changed files with 1 additions and 1 deletions
+1
View File
@@ -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!)
-1
View File
@@ -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}
]
)