From c987929aef807391017fe4510ef97180c3daa6fa Mon Sep 17 00:00:00 2001 From: dfedoryshchev <64079946+dfedoryshchev@users.noreply.github.com> Date: Fri, 31 Jul 2026 22:53:45 +0100 Subject: [PATCH] docs: correct the documented Chat Completions store default (#4074) --- src/agents/model_settings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/agents/model_settings.py b/src/agents/model_settings.py index 0d6c24b8..93fa4112 100644 --- a/src/agents/model_settings.py +++ b/src/agents/model_settings.py @@ -143,7 +143,8 @@ class ModelSettings: store: bool | None = None """Whether to store the generated model response for later retrieval. For Responses API: automatically enabled when not specified. - For Chat Completions API: disabled when not specified.""" + For Chat Completions API: enabled when not specified for the official OpenAI API, and + omitted for other providers so their own default applies.""" prompt_cache_retention: Literal["in_memory", "24h"] | None = None """The retention policy for the prompt cache. Set to `24h` to enable extended