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.
This commit is contained in:
parent
47fa8e87b1
commit
b699d9a533
1 changed files with 0 additions and 1 deletions
|
|
@ -5,7 +5,6 @@ import time
|
||||||
from collections.abc import AsyncIterator
|
from collections.abc import AsyncIterator
|
||||||
from typing import Any, Literal, cast, overload
|
from typing import Any, Literal, cast, overload
|
||||||
|
|
||||||
import litellm.types
|
|
||||||
from openai.types.responses.response_usage import InputTokensDetails, OutputTokensDetails
|
from openai.types.responses.response_usage import InputTokensDetails, OutputTokensDetails
|
||||||
|
|
||||||
from agents.exceptions import ModelBehaviorError
|
from agents.exceptions import ModelBehaviorError
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue