Skip to content

Commit 977843c

Browse files
committed
fix lint
1 parent b8c6ba1 commit 977843c

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/agents/run.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,13 @@ 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 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.
255+
conversation_id: The conversation ID (https://platform.openai.com/docs/guides/conversation-state?api-mode=responses).
256+
If provided, the conversation will be used to read and write items.
257+
Every agent will have access to the conversation history so far,
258+
and it's output items will be written to the conversation.
259+
We recommend only using this if you are exclusively using OpenAI models;
260+
other model providers don't write to the Conversation object,
261+
so you'll end up having partial conversations stored.
256262
Returns:
257263
A run result containing all the inputs, guardrail results and the output of the last
258264
agent. Agents may perform handoffs, so we don't know the specific type of the output.
@@ -1500,4 +1506,3 @@ def _copy_str_or_list(input: str | list[TResponseInputItem]) -> str | list[TResp
15001506
if isinstance(input, str):
15011507
return input
15021508
return input.copy()
1503-

0 commit comments

Comments
 (0)