Skip to content

Commit 08b1157

Browse files
committed
Satisfy linter?
1 parent a0169dc commit 08b1157

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

azure/durable_functions/openai_agents/model_invocation_activity.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import enum
22
import json
33
import logging
4-
from datetime import timedelta
54
from typing import Any, AsyncIterator, Optional, Union, cast
65

76
from azure.durable_functions.models.RetryOptions import RetryOptions
@@ -28,9 +27,6 @@
2827
WebSearchTool,
2928
)
3029
from agents.items import TResponseStreamEvent
31-
from openai import (
32-
APIStatusError,
33-
)
3430
from openai.types.responses.tool_param import Mcp
3531
from openai.types.responses.response_prompt_param import ResponsePromptParam
3632

@@ -179,6 +175,7 @@ def from_json(cls, json_str: str) -> 'ActivityModelInput':
179175
"""Create an ActivityModelInput instance from a JSON string."""
180176
return cls.model_validate_json(json_str)
181177

178+
182179
class ModelInvoker:
183180
"""Handles OpenAI model invocations for Durable Functions activities."""
184181

0 commit comments

Comments
 (0)