Skip to content

error: Text 'NoneType' object has no attribute 'strip' #433

Open
@KikeVen

Description

@KikeVen
Traceback (most recent call last):
Traceback (most recent call last):
  File "/a0/agent.py", line 332, in monologue
    tools_result = await self.process_tools(agent_response)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/a0/agent.py", line 685, in process_tools
    await tool.after_execution(response)
  File "/a0/python/helpers/tool.py", line 36, in after_execution
    text = response.message.strip()
           ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'strip'


AttributeError: 'NoneType' object has no attribute 'strip'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions