@@ -272,6 +272,7 @@ async def run(
272
272
We recommend only using this if you are exclusively using OpenAI models;
273
273
other model providers don't write to the Conversation object,
274
274
so you'll end up having partial conversations stored.
275
+ session: A session for automatic conversation history management.
275
276
Returns:
276
277
A run result containing all the inputs, guardrail results and the output of the last
277
278
agent. Agents may perform handoffs, so we don't know the specific type of the output.
@@ -329,6 +330,7 @@ def run_sync(
329
330
previous_response_id: The ID of the previous response, if using OpenAI models via the
330
331
Responses API, this allows you to skip passing in input from the previous turn.
331
332
conversation_id: The ID of the stored conversation, if any.
333
+ session: A session for automatic conversation history management.
332
334
Returns:
333
335
A run result containing all the inputs, guardrail results and the output of the last
334
336
agent. Agents may perform handoffs, so we don't know the specific type of the output.
@@ -383,6 +385,7 @@ def run_streamed(
383
385
previous_response_id: The ID of the previous response, if using OpenAI models via the
384
386
Responses API, this allows you to skip passing in input from the previous turn.
385
387
conversation_id: The ID of the stored conversation, if any.
388
+ session: A session for automatic conversation history management.
386
389
Returns:
387
390
A result object that contains data about the run, as well as a method to stream events.
388
391
"""
0 commit comments