Open
Description
Please read this first
- Have you read the docs? Agents SDK docs
- Have you searched for related issues? Others may have faced similar issues.
Describe the bug
When using the OpenAI Agents SDK with tracing enabled, the exporter fails if any string (e.g., prompt or metadata) contains characters outside the Latin-1 (ISO-8859-1) range — such as Unicode curly quotes (“
or ”
, code point 8220). This throws an internal TypeError
in undici
.
Debug information
- Agents SDK version: "@openai/agents": "^0.0.9",
- Runtime environment (
Node.js 22.16.0
)