Skip to content

[BUG]: worker prompts are unreadable in OTel traces (double-escaped) #273

Description

@Shearerbeard

If you run phoenix and export our OpenInference otel in orchestration mode you will see some very hard to read initial worker prompts. This makes it pretty hard to debug the coordinator to worker delegation.

Example:

{"role":"user","content":[{"type":"text","text":"BACKGROUND (read-only, do not act on this): Create /app/hello.txt with the content \"Hello, world!\"\n\nYOUR TASK: Run the following command to create the file /app/hello.txt with the content \"Hello, world!\":\n\n```\necho 'Hello, world!' > /app/hello.txt\n```\n\nAfter running the command, capture the terminal output to confirm it completed without errors.\n\n\n\nUse your tools when the task requires fetching, generating, or computing new data. If your task is to analyze, summarize, or transform results already provided above, reason directly. When a tool exists for the operation, always prefer the tool. Large tool outputs may be saved to artifact files — if you see a `[Tool output saved to artifact: ...]` reference, use `read_artifact` to retrieve the full content. When you have your answer, call `submit_result` with a concise summary, your complete findings, and your confidence level.\n"}]}

Activity

  1. self-assigned this
    on Jun 24, 2026
  2. added 8 commits that reference this issue on Jun 25, 2026
    01baa3c
    730348a
    badc993
    bf8d142
    caa9973
    e461fe3
    bb671bc
    1ab3f6a
  3. changed the title [-]Otel Traces Worker -> agent.turn prompt is double escaped and hard to read[/-] [+][BUG]: worker prompts are unreadable in OTel traces (double-escaped)[/+] on Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions