---
type: email
from: Kazuhiro Sera <notifications@github.com>
subject: [openai/openai-agents-python] Fix a bug where the default behavior of

 loading the debug flag differs from the documentation (PR #1682)
received: 2026-03-06 07:24:29
date_header: Sun, 07 Sep 2025 23:59:42 -0700
priority: normal
status: awaiting_approval
uid: 29742
---

## Email Content

**From:** Kazuhiro Sera <notifications@github.com>
**Subject:** [openai/openai-agents-python] Fix a bug where the default behavior of

 loading the debug flag differs from the documentation (PR #1682)
**Date:** Sun, 07 Sep 2025 23:59:42 -0700

### Body (preview)

DONT_LOG_MODEL_DATA and DONT_LOG_TOOL_DATA constants&#39; default values differ from the behaviors clearly stated in the documentation (code comments).

You can view, comment on, or merge this pull request online at:



  https://github.com/openai/openai-agents-python/pull/1682



-- Commit Summary --



  * Fix a bug where the default behavior of loading the debug flag differs from the documentation.



-- File Changes --



    M src/agents/_debug.py (19)

    A tests/test_debug.py (54)



-- Patch Links --



https://github.com/openai/openai-agents-python/pull/1682.patch

https://github.com/openai/openai-agents-python/pull/1682.diff



-- 

Reply to this email directly or view it on GitHub:

https://github.com/openai/openai-agents-python/pull/1682

You are receiving this because you are subscribed to this thread.



Message ID: &lt;openai/openai-agents-python/pull/1682@github.com&gt;

---

## Suggested Actions
- [ ] Reply
- [ ] Archive
- [ ] Escalate
