Skip to content

Commit b699d9a

Browse files
authored
Small fix for litellm model (#789)
Small fix: Removing `import litellm.types` as its outside the try except block for importing litellm so the import error message isn't displayed, and the line actually isn't needed. I was reproducing a GitHub issue and came across this in the process.
1 parent 47fa8e8 commit b699d9a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/agents/extensions/models/litellm_model.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from collections.abc import AsyncIterator
66
from typing import Any, Literal, cast, overload
77

8-
import litellm.types
98
from openai.types.responses.response_usage import InputTokensDetails, OutputTokensDetails
109

1110
from agents.exceptions import ModelBehaviorError

0 commit comments

Comments
 (0)