Skip to content

Commit b73d9a2

Browse files
seratchrm-openai
andauthored
Update src/agents/run.py
Co-authored-by: Rohan Mehta <[email protected]>
1 parent 7fe8c92 commit b73d9a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/agents/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ async def run(
243243
run_config: Global settings for the entire agent run.
244244
previous_response_id: The ID of the previous response, if using OpenAI models via the
245245
Responses API, this allows you to skip passing in input from the previous turn.
246-
conversation_id: The ID of the stored conversation, if any.
246+
conversation_id: The conversation ID (https://platform.openai.com/docs/guides/conversation-state?api-mode=responses). If provided, the conversation will be used to read and write items. Every agent will have access to the conversation history so far, and it's output items will be written to the conversation. We recommend only using this if you are exclusively using OpenAI models; other model providers don't write to the Conversation object, so you'll end up having partial conversations stored.
247247
Returns:
248248
A run result containing all the inputs, guardrail results and the output of the last
249249
agent. Agents may perform handoffs, so we don't know the specific type of the output.

0 commit comments

Comments
 (0)