Skip to content

Commit 998b598

Browse files
committed
PR feedback
1 parent ca86ef6 commit 998b598

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

temporalio/contrib/openai_agents/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
"""
1010

1111
from temporalio.contrib.openai_agents._model_parameters import ModelActivityParameters
12-
from temporalio.contrib.openai_agents._openai_runner import AgentsWorkflowError
1312
from temporalio.contrib.openai_agents._temporal_openai_agents import (
1413
OpenAIAgentsPlugin,
1514
TestModel,
@@ -18,6 +17,7 @@
1817
from temporalio.contrib.openai_agents._trace_interceptor import (
1918
OpenAIAgentsTracingInterceptor,
2019
)
20+
from temporalio.contrib.openai_agents.workflow import AgentsWorkflowError
2121

2222
from . import workflow
2323

temporalio/contrib/openai_agents/_temporal_openai_agents.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@
2424

2525
import temporalio.client
2626
import temporalio.worker
27-
from temporalio.client import ClientConfig, Plugin
27+
from temporalio.client import ClientConfig
28+
from temporalio.contrib.openai_agents import AgentsWorkflowError
2829
from temporalio.contrib.openai_agents._invoke_model_activity import ModelActivity
2930
from temporalio.contrib.openai_agents._model_parameters import ModelActivityParameters
3031
from temporalio.contrib.openai_agents._openai_runner import (
31-
AgentsWorkflowError,
3232
TemporalOpenAIRunner,
3333
)
3434
from temporalio.contrib.openai_agents._temporal_trace_provider import (

temporalio/contrib/openai_agents/workflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ class ToolSerializationError(TemporalError):
266266

267267

268268
class AgentsWorkflowError(TemporalError):
269-
"""Error that occurs when the agents SDK raises an error which should terminate the calling workflow.
269+
"""Error that occurs when the agents SDK raises an error which should terminate the calling workflow or update.
270270
271271
.. warning::
272272
This exception is experimental and may change in future versions.

0 commit comments

Comments
 (0)