Skip to content

Commit de103d2

Browse files
GDaamnDouweM
andauthored
update docstring
Co-authored-by: Douwe Maan <[email protected]>
1 parent b35a341 commit de103d2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pydantic_ai_slim/pydantic_ai/models/openai.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,12 +223,12 @@ class OpenAIResponsesModelSettings(OpenAIChatModelSettings, total=False):
223223
"""
224224

225225
openai_previous_response_id: Literal['auto'] | str
226-
"""The identifier of the most recent response to include in the API request.
226+
"""The ID of a previous response from the model to use as the starting point for a continued conversation.
227227
228-
When set to `auto`, the request automatically uses the most recent
229-
`provider_response_id` along with the latest request from the message history.
228+
When set to `'auto'`, the request automatically uses the most recent
229+
`provider_response_id` from the message history and omits earlier messages.
230230
231-
This enables the model to reference previous reasoning traces.
231+
This enables the model to use server-side conversation state and faithfully reference previous reasoning.
232232
See the [OpenAI Responses API documentation](https://platform.openai.com/docs/guides/reasoning#keeping-reasoning-items-in-context)
233233
for more information.
234234
"""

0 commit comments

Comments
 (0)