logfire icon indicating copy to clipboard operation
logfire copied to clipboard

Feature Request: Handle Tool Call Assistant Messages For OpenAI (and other providers)

Open willbakst opened this issue 1 year ago • 0 comments

Hi! I noticed when using tool calls (function calling) that I get an empty assistant message in the UI (because there's no content, just tool calls). See below:

April 30 Screenshot from Pydantic Logfire

Would be awesome if this rendered something like a pretty JSON object so it's not empty and I don't have to scroll down to the original response to find the data.

willbakst avatar Apr 30 '24 18:04 willbakst