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

langfuse callback上报异常 #119

Closed
wang2222qq opened this issue Feb 26, 2025 · 5 comments
Closed

langfuse callback上报异常 #119

wang2222qq opened this issue Feb 26, 2025 · 5 comments

Comments

@wang2222qq
Copy link

wang2222qq commented Feb 26, 2025

Describe the bug

Image 同一次请求中,把callback中绑定了服务,但是最后上报结果就是,每个节点都是单独的trace Id。

使用代码:
`go
cbh, flusher := langfuse.NewLangfuseHandler(&langfuse.Config{
Host: "https://cloud.langfuse.com",
PublicKey: "pk-xxx",
SecretKey: "sk-xxx",
})

ecb.InitCallbackHandlers([]ecb.Handler{cbh})

defer flusher()
`

@N3kox
Copy link
Contributor

N3kox commented Feb 27, 2025

@wang2222qq hi, 可以上传一下完整代码吗?

@wang2222qq
Copy link
Author

这个可能没有办法,不过我试试了一下用最新的eino v0.3.14版本是可以正常使用的。可能是因为我这边自定义重新实现react有关。

@wang2222qq
Copy link
Author

找到问题了。是因为eino0.3.10~ eino0.3.13之间有出现。今天更换0.3.14就可以解决了

@N3kox
Copy link
Contributor

N3kox commented Feb 27, 2025

get。应该是这里做的修复 cloudwego/eino#88

@wang2222qq
Copy link
Author

是的

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

No branches or pull requests

2 participants