Skip to content

Commit 18793ba

Browse files
committed
Remove duplicate methods from DurableOpenAIRunner
1 parent 49e37a5 commit 18793ba

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

samples-v2/openai_agents/durable_openai_runner.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -92,18 +92,3 @@ def run_streamed(
9292
**kwargs: Any,
9393
) -> RunResultStreaming:
9494
raise RuntimeError("Durable Functions do not support streaming.")
95-
def run(
96-
self,
97-
starting_agent: Agent[TContext],
98-
input: Union[str, list[TResponseInputItem]],
99-
**kwargs: Any,
100-
) -> RunResult:
101-
raise RuntimeError("Durable Functions do not support asynchronous runs.")
102-
103-
def run_streamed(
104-
self,
105-
starting_agent: Agent[TContext],
106-
input: Union[str, list[TResponseInputItem]],
107-
**kwargs: Any,
108-
) -> RunResultStreaming:
109-
raise RuntimeError("Durable Functions do not support streaming.")

0 commit comments

Comments
 (0)