---
type: email
from: Kazuhiro Sera <notifications@github.com>
subject: [openai/openai-agents-python] Add tests for Agent default model

 settings when using GPT-5 (PR #1562)
received: 2026-03-05 10:15:10
date_header: Fri, 22 Aug 2025 20:02:53 -0700
priority: normal
status: awaiting_approval
uid: 28440
---

## Email Content

**From:** Kazuhiro Sera <notifications@github.com>
**Subject:** [openai/openai-agents-python] Add tests for Agent default model

 settings when using GPT-5 (PR #1562)
**Date:** Fri, 22 Aug 2025 20:02:53 -0700

### Body (preview)

## Summary

- test Agent inherits GPT-5 default model settings

- ensure non-GPT-5 models reset default GPT-5 settings



## Testing

- `make format`

- `make lint`

- `make mypy`

- `OPENAI_API_KEY=dummy make tests`





------

https://chatgpt.com/codex/tasks/task_i_68a92726d6bc83208337e5b8c2228631

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



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



-- Commit Summary --



  * test: cover agent default model settings for gpt-5



-- File Changes --



    M tests/models/test_default_models.py (25)



-- Patch Links --



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

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



-- 

Reply to this email directly or view it on GitHub:

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

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



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

---

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