Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lost custom event stream data in SpanAttributes #13

Open
Nevercomes opened this issue Dec 4, 2024 · 0 comments
Open

Lost custom event stream data in SpanAttributes #13

Nevercomes opened this issue Dec 4, 2024 · 0 comments

Comments

@Nevercomes
Copy link

目前 myscalekb-agent 的 langgraph 使用中,用到了两种不同的数据返回方式

  1. 由节点直接构造数据返回,既不是通过 llm 也不是通过 tool.
  2. 定义 custom_event 来返回数据.

上面提到的两种 response 在 myscale-telemetry 目前会丢失记录。

节点直接返回数据:
https://github.com/myscale/myscale-agent/blob/64aae27936897de53eb2c7e80c49f89b155250ab/myscale_agent/agents/slide_deck_ai/agent.py#L147

custom event 返回数据:
https://github.com/myscale/myscale-agent/blob/64aae27936897de53eb2c7e80c49f89b155250ab/myscale_agent/agents/slide_deck_ai/agent.py#L371

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant