Skip to content

[Bug]: workflows.errors.WorkflowRuntimeError: Error in step 'run_agent_step': 'NoneType' object has no attribute 'automatic_function_calling_history' #19198

@rogerbarretocode

Description

@rogerbarretocode

Bug Description

Hi , i am usiing agent workflows which was running fine all this while but since today i get this error :

i tried updating google gen ai and llamindex libraries but issue persists .

please suggest a fix

Version

0.12.43

Steps to Reproduce

run agent workflow

Relevant Logs/Tracbacks

Traceback (most recent call last):
  File "C:\Users\HP\anaconda3\envs\googleadsrecsys\lib\asyncio\events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "C:\Users\HP\anaconda3\envs\googleadsrecsys\lib\site-packages\llama_index_instrumentation\dispatcher.py", line 290, in handle_future_result
    raise exception
  File "C:\Users\HP\Desktop\ducima roger work\google recommender system\newest.py", line 1232, in run_workflow
    final_result = await handler
  File "C:\Users\HP\anaconda3\envs\googleadsrecsys\lib\site-packages\workflows\workflow.py", line 416, in _run_workflow
    raise exception_raised
  File "C:\Users\HP\anaconda3\envs\googleadsrecsys\lib\site-packages\workflows\context\context.py", line 637, in _step_worker
    raise WorkflowRuntimeError(
workflows.errors.WorkflowRuntimeError: Error in step 'run_agent_step': 'NoneType' object has no attribute 'automatic_function_calling_history'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageIssue needs to be triaged/prioritized

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions