Open rawwerks opened 3 days ago
@rawwerks You're right! Tool call responses (used for structure outputs in magentic) show correctly in logfire for non-streamed responses, but not when stream=True
. I've opened an issue with logfire now https://github.com/pydantic/logfire/issues/542
i'm following along with https://magentic.dev/logging-and-tracing/ , but i don't think
logfire.instrument_openai()
is fully implemented correctly, because i cannot see the response in logfire.example:
result: