Comments (3)
Seems that autogen didn't install properly. Have you run the installer.bat inside the terminal in the folder NodeGPT? Then you should have a venv folder in the NodeGPT folder. After that you have to pip install -r requirements.txt or just pip install pyautogen (inside the activated venv)
If this didn't work it has probably to do something with the import of autogen in every Skript (see the issue for Linux users)
from nodegpt.
There is a problem with install.bat, just run the commands in install in a separate terminal.
from nodegpt.
Now Queue prompt reports an error
To see the GUI go to: http://127.0.0.1:8188
got prompt
<autogen.agentchat.assistant_agent.AssistantAgent object at 0x000002D4008F9810>
User (to assistant):
Task here
!!! Exception during processing !!!
Traceback (most recent call last):
File "D:\dev\ComfyUI_windows_portable\ComfyUI\execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\dev\ComfyUI_windows_portable\ComfyUI\execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\dev\ComfyUI_windows_portable\ComfyUI\execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\dev\ComfyUI_windows_portable\ComfyUI\custom_nodes\NodeGPT\Chat.py", line 46, in execute
user_object.initiate_chat(
File "D:\dev\ComfyUI_windows_portable\ComfyUI\custom_nodes\NodeGPT\venv\Lib\site-packages\autogen\agentchat\conversable_agent.py", line 531, in initiate_chat
self.send(self.generate_init_message(**context), recipient, silent=silent)
File "D:\dev\ComfyUI_windows_portable\ComfyUI\custom_nodes\NodeGPT\venv\Lib\site-packages\autogen\agentchat\conversable_agent.py", line 334, in send
recipient.receive(message, self, request_reply, silent)
File "D:\dev\ComfyUI_windows_portable\ComfyUI\custom_nodes\NodeGPT\venv\Lib\site-packages\autogen\agentchat\conversable_agent.py", line 462, in receive
reply = self.generate_reply(messages=self.chat_messages[sender], sender=sender)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\dev\ComfyUI_windows_portable\ComfyUI\custom_nodes\NodeGPT\venv\Lib\site-packages\autogen\agentchat\conversable_agent.py", line 781, in generate_reply
final, reply = reply_func(self, messages=messages, sender=sender, config=reply_func_tuple["config"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\dev\ComfyUI_windows_portable\ComfyUI\custom_nodes\NodeGPT\venv\Lib\site-packages\autogen\agentchat\conversable_agent.py", line 606, in generate_oai_reply
response = oai.ChatCompletion.create(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\dev\ComfyUI_windows_portable\ComfyUI\custom_nodes\NodeGPT\venv\Lib\site-packages\autogen\oai\completion.py", line 799, in create
response = cls.create(
^^^^^^^^^^^
File "D:\dev\ComfyUI_windows_portable\ComfyUI\custom_nodes\NodeGPT\venv\Lib\site-packages\autogen\oai\completion.py", line 830, in create
return cls._get_response(params, raise_on_ratelimit_or_timeout=raise_on_ratelimit_or_timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\dev\ComfyUI_windows_portable\ComfyUI\custom_nodes\NodeGPT\venv\Lib\site-packages\autogen\oai\completion.py", line 269, in _get_response
cls._book_keeping(config, response)
File "D:\dev\ComfyUI_windows_portable\ComfyUI\custom_nodes\NodeGPT\venv\Lib\site-packages\autogen\oai\completion.py", line 168, in _book_keeping
key = get_key(messages + [choice["message"] for choice in response["choices"]])
~~~~~~~~^^^^^^^^^^^
KeyError: 'choices'
Prompt executed in 2.98 seconds
from nodegpt.
Related Issues (20)
- Load API key from config file to avoid workflow contamination HOT 2
- Small bug in Output2String.py HOT 3
- TextGeneration node seems to be ignoring the cache setting HOT 4
- Customizable Agent roles HOT 2
- [Feature request] - Expose request_timeout parameter in the LM_Studio node HOT 6
- Cannot connect Local LLM to Ollama Node HOT 1
- The autogen.Completion class requires openai<1 and diskcache. HOT 17
- [Feature Request] ChatGPT node pointing to a file with the API Key + Seed
- [Feature Request] Increase TextGeneration node interoperability with other nodes
- [FEATURE REQUEST] - A node to interact with GPT-4V
- Questions on NodeGPT HOT 3
- import failed. I want to run nodegpt on local lm or ooba but am jammed. HOT 5
- llama-cpp model path fails to handle absolute HOT 1
- Model name/path doesn't conform to ComfyUI conventional behavior for local models
- DisplayText node seems to output to stdout via print() rather than displaying text within ComfyUI HOT 1
- Error occurred when executing TextGeneration: 'model' HOT 3
- need lava integration
- Error when connect to oobabooga api
- Fail to install, pyautogen conflicts with pymemgpt
- If it helps, last update broke it HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nodegpt.