Skip to content

Commit e9cd40f

Browse files
committed
Extend code interpreter timeout
1 parent e54b5d1 commit e9cd40f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/contrib/openai_agents/test_openai.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2317,7 +2317,7 @@ async def test_code_interpreter_tool(client: Client, use_local_model):
23172317
new_config["plugins"] = [
23182318
openai_agents.OpenAIAgentsPlugin(
23192319
model_params=ModelActivityParameters(
2320-
start_to_close_timeout=timedelta(seconds=30)
2320+
start_to_close_timeout=timedelta(seconds=60)
23212321
),
23222322
model_provider=TestModelProvider(CodeInterpreterModel())
23232323
if use_local_model
@@ -2335,7 +2335,7 @@ async def test_code_interpreter_tool(client: Client, use_local_model):
23352335
"What is the square root of273 * 312821 plus 1782?",
23362336
id=f"code-interpreter-tool-{uuid.uuid4()}",
23372337
task_queue=worker.task_queue,
2338-
execution_timeout=timedelta(seconds=30),
2338+
execution_timeout=timedelta(seconds=60),
23392339
)
23402340
result = await workflow_handle.result()
23412341
if use_local_model:

0 commit comments

Comments
 (0)