Skip to content

Commit 783eb9e

Browse files
committed
Fix await
1 parent a034867 commit 783eb9e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

temporalio/bridge/sdk-core

Submodule sdk-core updated 59 files

tests/contrib/openai_agents/test_openai.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2202,15 +2202,15 @@ async def get_prompt(
22022202
client, McpServerStatefulWorkflow, McpServerWorkflow
22032203
) as worker:
22042204
if stateful:
2205-
result = client.execute_workflow(
2205+
result = await client.execute_workflow(
22062206
McpServerStatefulWorkflow.run,
22072207
timedelta(seconds=30),
22082208
id=f"mcp-server-{uuid.uuid4()}",
22092209
task_queue=worker.task_queue,
22102210
execution_timeout=timedelta(seconds=30),
22112211
)
22122212
else:
2213-
result = client.execute_workflow(
2213+
result = await client.execute_workflow(
22142214
McpServerWorkflow.run,
22152215
timedelta(seconds=30),
22162216
id=f"mcp-server-{uuid.uuid4()}",

0 commit comments

Comments
 (0)