File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
temporalio/contrib/openai_agents Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 99"""
1010
1111from temporalio .contrib .openai_agents ._model_parameters import ModelActivityParameters
12- from temporalio .contrib .openai_agents ._openai_runner import AgentsWorkflowError
1312from temporalio .contrib .openai_agents ._temporal_openai_agents import (
1413 OpenAIAgentsPlugin ,
1514 TestModel ,
1817from temporalio .contrib .openai_agents ._trace_interceptor import (
1918 OpenAIAgentsTracingInterceptor ,
2019)
20+ from temporalio .contrib .openai_agents .workflow import AgentsWorkflowError
2121
2222from . import workflow
2323
Original file line number Diff line number Diff line change 2424
2525import temporalio .client
2626import temporalio .worker
27- from temporalio .client import ClientConfig , Plugin
27+ from temporalio .client import ClientConfig
28+ from temporalio .contrib .openai_agents import AgentsWorkflowError
2829from temporalio .contrib .openai_agents ._invoke_model_activity import ModelActivity
2930from temporalio .contrib .openai_agents ._model_parameters import ModelActivityParameters
3031from temporalio .contrib .openai_agents ._openai_runner import (
31- AgentsWorkflowError ,
3232 TemporalOpenAIRunner ,
3333)
3434from temporalio .contrib .openai_agents ._temporal_trace_provider import (
Original file line number Diff line number Diff line change @@ -266,7 +266,7 @@ class ToolSerializationError(TemporalError):
266266
267267
268268class 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.
You can’t perform that action at this time.
0 commit comments