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

Error on install: missing escape characters in filepaths #106

Closed Jonseed closed 1 month ago

Jonseed commented 1 month ago

Describe the bug I installed LLM party, and got this error in the terminal:

D:\repos\ComfyUI\custom_nodes\comfyui_LLM_party\custom_tool\feishu_send_msg.py:290: SyntaxWarning: invalid escape sequence '\o'
  file_path="D:\\aaaCode\\feishu\output\9c809373e1f617e1e2e3a5dc39adc0ed_8399068463954610687.jpg",
D:\repos\ComfyUI\custom_nodes\comfyui_LLM_party\custom_tool\feishu_send_msg.py:292: SyntaxWarning: invalid escape sequence '\o'
  feishu.send_msg(msg_type="audio", file_path="D:\\aaaCode\\feishu\output\\audio.wav")

Looks like there are missing escape backslashes in the filepaths before \output

To Reproduce Steps to reproduce the behavior:

  1. Install LLM party with ComfyUI Manager
  2. Restart ComfyUI.
  3. See terminal.

Expected behavior No hardcoded files at wrong filepaths.

Screenshots

Desktop (please complete the following information):

Additional context

heshengtao commented 1 month ago

This is not a error, just a warning, it doesn't affect