Giter Club home page Giter Club logo

Comments (3)

xXAdonesXx avatar xXAdonesXx commented on June 30, 2024

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.

Numb94 avatar Numb94 commented on June 30, 2024

There is a problem with install.bat, just run the commands in install in a separate terminal.

from nodegpt.

Numb94 avatar Numb94 commented on June 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.