Skip to content

Bug: the trace information will be split, with both the parent and child agents having independent trace IDs when the root agent invokes the child agent. #549

@vihunk

Description

@vihunk

当我设置一个父智能体作为根智能体,调用子智能体时发现收集到的trace是两条独立的traceid,以ai工具分析是 in_memory_exporter.py中的on_start方法中调用attach方法会直接将当前的span置空,导致进入子智能体时被对待成了新的span。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions