RunLLM How do I disable the default openai agents tracing and enable Phoenix tracing?
馃挕聽Hint: Mention RunLLM in the thread for followups.
RunLLM So OpenAI agents has tracing on by default. I can turn it off, but it messes with the Phoenix tracing. if I don't turn it off, Phoenix and OpenAI get the tracing. I don't want both to get the traces.
馃挕聽Hint: Mention RunLLM in the thread for followups.
RunLLM can you give me a full example using OpenAIInstrumentor().uninstrument()?
馃挕聽Hint: Mention RunLLM in the thread for followups.
RunLLM so that's what I'm trying. Here's my code:
from openinference.instrumentation.openai_agents import OpenAIAgentsInstrumentor
# Disable OpenAI's default tracing
OpenAIAgentsInstrumentor().uninstrument()
client = AsyncOpenAI(
base_url=BASE_URL,
api_key=API_KEY,
)I get a message: Attempting to uninstrument while already uninstrumented but it is still sending to openai
馃挕聽Hint: Mention RunLLM in the thread for followups.
hey Brandon B. - I'm not super familiar but this might be relevant? https://github.com/Arize-ai/openinference/pull/1586
Mikyo I'll take a look at that. Thanks!
Mikyo That is absolutely related. I'm still working through the code to see what's missing though. Thanks for sharing that!
Sounds good! Let us know if you need anything
