Skip to content

Commit 975cdec

Browse files
authored
Updated the default values for two parameters in the ModelSettings class to align with their documented behavior: (#1392)
1 parent cb0125c commit 975cdec

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/agents/model_settings.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,12 @@ class ModelSettings:
107107

108108
store: bool | None = None
109109
"""Whether to store the generated model response for later retrieval.
110-
Defaults to True if not provided."""
110+
For Responses API: automatically enabled when not specified.
111+
For Chat Completions API: disabled when not specified."""
111112

112113
include_usage: bool | None = None
113114
"""Whether to include usage chunk.
114-
Defaults to True if not provided."""
115+
Only available for Chat Completions API."""
115116

116117
response_include: list[ResponseIncludable] | None = None
117118
"""Additional output data to include in the model response.

0 commit comments

Comments
 (0)