docs: Make default model clear (#457)

close https://github.com/openai/openai-agents-python/issues/440
This commit is contained in:
nikkie 2025-04-09 00:47:23 +09:00 committed by GitHub
parent 869c95b012
commit ccff74dcfa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -108,7 +108,7 @@ class Agent(Generic[TContext]):
"""The model implementation to use when invoking the LLM.
By default, if not set, the agent will use the default model configured in
`model_settings.DEFAULT_MODEL`.
`openai_provider.DEFAULT_MODEL` (currently "gpt-4o").
"""
model_settings: ModelSettings = field(default_factory=ModelSettings)