Skip to content

Hirarchical AI Agent -> AI Agent Tool -> AI Agent Tool have problems displaying runtime logs #18650

@ajunca

Description

@ajunca

Bug Description

With this image is much better to describe the problem:

Image

On the logs, only the first time the AI Agent Tool is called on the third level is displayed and you can actually check what is doing and so on. The other times it is called by the same parent, it is displayed just as the Chat Model, but you can not get more insides.

If I remember correctly, when everything finishes, then all is displayed correctly and you can see all the calls from all levels.

But because this kind of flows take very long to process, it is very useful to have a runtime fully access on what is happening.

To Reproduce

Do a multi-level AI Agent workflow as shown on the picture. The second level Agent has to call the third at least two times to see the problem.

Expected behavior

To have fully access to the logs at runtime.

Debug Info

n8n Version
1.108.1
Source Code
https://github.com/n8n-io/n8n
License
Sustainable Use License + n8n Enterprise License
Instance ID
c7b600e0adb5d1bc08202a4e756e682f324fc61228f9f374d450e9d15ae07d5e
Debug
Copy debug information

Operating System

Docker on Arch linux

n8n Version

1.108.1

Node.js Version

The one in the official docker container for the 1.108.1 image

Database

SQLite (default)

Execution mode

main (default)

Hosting

self hosted

Metadata

Metadata

Assignees

No one assigned

    Labels

    in linearIssue or PR has been created in Linear for internal review

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions