Skip to content

In Chapter 10 ,lesson10a.py is has errors #3

@kardwalker

Description

@kardwalker

in
agent_executor = create_react_agent(llm, tools, state_modifier=prompt)

state_modifier has to be replaced by promt

after that also when i run the code

following error
AttributeError: 'AIMessage' object has no attribute 'steps'
During task with name 'planner' and id '5117a700-865f-20f4-f775-fcece8aaf0c9'

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions