heshengtao / comfyui_LLM_party

LLM Agent Framework in ComfyUI includes Omost,GPT-sovits, ChatTTS,GOT-OCR2.0, and FLUX prompt nodes,access to Feishu,discord,and adapts to all llms with similar openai/gemini interfaces, such as o1,ollama, grok, qwen, GLM, deepseek, moonshot,doubao. Adapted to local llms, vlm, gguf such as llama-3.2, Linkage neo4j KG, graphRAG / RAG / html 2 img
GNU Affero General Public License v3.0
1.05k stars 93 forks source link

in API mode, ShowTextNode cause an Error: extra_pnginfo[0] is not a dict or missing 'workflow' key #123

Closed shirubei closed 2 weeks ago

shirubei commented 2 weeks ago

Describe the bug in API mode, an Error of "extra_pnginfo[0] is not a dict or missing 'workflow' key " displayed on the command line log. I'm sure it was caused by ShowTextNode.

To Reproduce Steps to reproduce the behavior:

  1. start up comfyui
  2. open a cmd line window
  3. go to ComfyUI\ComfyUI>
  4. run ..\python_embeded\python flux_dev_api_calling.py flux_dev_api_calling.zip
  5. See error of screenshot

Expected behavior No error message.

Screenshots image

Desktop (please complete the following information):

Additional context on error message in interactive mode(run workflow in Chrome)

shirubei commented 2 weeks ago

Btw, added "--changed" in comfyui_LLM_party\tools\show_text.py to make sure it's the right script that caused the error.

heshengtao commented 2 weeks ago

When there is no front end, this error will be reported, but it will not affect the operation. If you can't run it, it's another problem. Besides, it doesn't make any sense to display text nodes when calling the API.