Skip to content

Conversation

@tconley1428
Copy link
Contributor

What was changed

Instead of overriding the model in RunConfig with that provided by the user in RunConfig or Agent, make the corresponding override wherever they provided it.

Also changed the framework for summaries. It defaults to the agent name, or none if the model is provided at the RunConfig level, but can be overridden by either a constant or a function given the agent and input.

Why?

If a user provided specific models in handoff agents, those choices would not be respected since the model was overridden globally based on the starting agent.

Checklist

  1. Closes [Feature Request] Display Agent name in the timeline #1024 1024

  2. How was this tested:
    New tests

  3. Any docs updates needed?

@tconley1428 tconley1428 requested a review from a team as a code owner August 15, 2025 16:21
@tconley1428 tconley1428 merged commit 2b5de91 into main Aug 20, 2025
49 of 52 checks passed
@tconley1428 tconley1428 deleted the openai/model_override branch August 20, 2025 19:29
tconley1428 added a commit that referenced this pull request Aug 28, 2025
* Move model override from the runconfig to the agents

* Add dedicated test that models are configured correctly

* Linting

* Cleanup and fix when model is provided via run_config

* Fix test isolation

* Introduce summary provider, don't mutate user provided agents

* Fixing recursion bugs

* Revert timeout debugging change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Display Agent name in the timeline

3 participants