Replies: 1 comment 3 replies
-
|
Thanks for reporting, that's good to know! Love openllmetry for interop with Otel. Langfuse will add an alternative decorator based Python integration soon which could resolve this by replacing the monkey patched import. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm not super surprised that I had an error when using both langfuse and openllmetry, but I figured I'd report it for others to find, and on the off chance it's an easy fix. I haven't looked into how each of you monkey patch OpenAI.
Specifically, the incompatibility is when I have both:
from langfuse.openai import AsyncAzureOpenAI, AsyncOpenAI
and:
OpenAIInstrumentor().instrument()
The error happens when I try to handle the response from the streaming chat routine:
The error goes away when I comment out the instrument call.
Beta Was this translation helpful? Give feedback.
All reactions