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.06k stars 94 forks source link

failed to add config settings(like api keys) after the first time running the app #54

Open Bobbyztz opened 3 months ago

Bobbyztz commented 3 months ago

错误描述 在第一次运行应用程序之后, 于config.ini文件中添加的设置(如api key等)将不会在ComfyUI_LLM_party节点上起作用

Describe the bug Adding settings in config.ini will not work on nodes for model and etc. after the first time running the app.

重现步骤

  1. 按照readme,添加设置(API密钥等)在config.ini中,运行ComfyUI。
  2. 在comfyui_LLM_party文件夹下将生成一个新的文件“config”,类型为“configuration settings”。
  3. 设置生效。
  4. 停止comfyui,修改config.ini,再次运行应用程序。
  5. 新设置不起作用,出现错误“'Incorrect API key provided: sk-XXXXX”等。

To Reproduce

  1. Follow readme, add settings(api keys and etc.) in config.ini, run ComfyUI.
  2. a new file "config" with type "configuration settings" will be generated under comfyui_LLM_party folder.
  3. the setting works.
  4. stop the comfyui, modify the config.ini, run app again.
  5. new setting doesn't work, error like "'Incorrect API key provided: sk-XXXXX"

截图Screenshots image

解决方案

Solutions