Skip to content

Trace logs no longer shows formatted JSON #1506

@FlyNumber

Description

@FlyNumber

Please read this first

  • Have you read the docs?Agents SDK docs - YES.
  • Have you searched for related issues? Others may have faced similar issues. - YES.

Describe the bug

I used to be able to see a "prettified" version of the JSON output in the OPENAI Traces panel/dashboard (for my agents). It's now just bunched up JSON.

I now need to use a 3rd party to be able to easily read it (i.e. make it "pretty").

The toggle "Format as text" / "Format as JSON" icon net to the "assistant" label does nothing.

Debug information

  • Agents SDK version: 0.2.8
  • Python version: 3.12.11

Repro steps

Just run any any agent and view the trace logs - https://platform.openai.com/logs?api=traces

Tested on Chrome and Safari (Mac) - same behavior.

Expected behavior

What I used to see, which was easy to read JSON.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions