Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LLMSinglePlan object has no attribute "related_messages" #70

Open
MoHayat opened this issue May 31, 2023 · 3 comments
Open

LLMSinglePlan object has no attribute "related_messages" #70

MoHayat opened this issue May 31, 2023 · 3 comments

Comments

@MoHayat
Copy link

MoHayat commented May 31, 2023

I've spun up my world using poetry run world --turbo and after letting the world run for a while all agents seem to stop and I get this error message:

Traceback (most recent call last):
  File "/Users/mohayat/projects/GPTeam/src/main.py", line 46, in run_world_async
    await world.run()
  File "/Users/mohayat/projects/GPTeam/src/world/base.py", line 113, in run
    await asyncio.gather(*tasks)
  File "/Users/mohayat/projects/GPTeam/src/world/base.py", line 101, in run_agent_loop
    await self.run_next_agent()
  File "/Users/mohayat/projects/GPTeam/src/world/base.py", line 96, in run_next_agent
    await agent.run_for_one_step()
  File "/Users/mohayat/projects/GPTeam/src/agent/base.py", line 1072, in run_for_one_step
    await self._do_first_plan()
  File "/Users/mohayat/projects/GPTeam/src/agent/base.py", line 973, in _do_first_plan
    await self._act(current_plan)
  File "/Users/mohayat/projects/GPTeam/src/agent/base.py", line 876, in _act
    if plan.related_message
                ^^^^^^^^^^^^^^^^^^^^
AttributeError: 'LLMSinglePlan' object has no attribute 'related_message'

I've tried making my changes locally but it keeps running into the same issue. Any advice?

@MoHayat
Copy link
Author

MoHayat commented May 31, 2023

this may be related to Issue #59, trying the solution mentioned in that thread.

@walter-grace
Copy link

Getting the same error, it seems to be when it wants to generate text

@MoHayat
Copy link
Author

MoHayat commented Jun 1, 2023

this fix got rid of the error on my end, but I still run into the encoding errors you mentioned in the other thread, trying to get to the bottom of that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants