Skip to content

Commit b8c6ba1

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

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
@@ -252,7 +252,7 @@ async def run(
252252
run_config: Global settings for the entire agent run.
253253
previous_response_id: The ID of the previous response, if using OpenAI models via the
254254
Responses API, this allows you to skip passing in input from the previous turn.
255-
conversation_id: The ID of the stored conversation, if any.
255+
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.
256256
Returns:
257257
A run result containing all the inputs, guardrail results and the output of the last
258258
agent. Agents may perform handoffs, so we don't know the specific type of the output.

0 commit comments

Comments
 (0)