Skip to content

Commit 2cf213c

Browse files
committed
Some cleanup
1 parent cbc5fa3 commit 2cf213c

File tree

3 files changed

+179
-202
lines changed

3 files changed

+179
-202
lines changed

temporalio/contrib/openai_agents/_temporal_openai_agents.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -300,13 +300,3 @@ def configure_replayer(self, config: ReplayerConfig) -> ReplayerConfig:
300300
payload_converter_class=_OpenAIPayloadConverter
301301
)
302302
return config
303-
304-
@asynccontextmanager
305-
async def workflow_replay(
306-
self,
307-
replayer: Replayer,
308-
histories: AsyncIterator[temporalio.client.WorkflowHistory],
309-
) -> AsyncIterator[AsyncIterator[WorkflowReplayResult]]:
310-
with set_open_ai_agent_temporal_overrides(self._model_params):
311-
async with super().workflow_replay(replayer, histories) as results:
312-
yield results

0 commit comments

Comments
 (0)