diff --git a/api/core/model_runtime/model_providers/bedrock/llm/llm.py b/api/core/model_runtime/model_providers/bedrock/llm/llm.py index 6e143f3e38e125..d03567d97b8f5d 100644 --- a/api/core/model_runtime/model_providers/bedrock/llm/llm.py +++ b/api/core/model_runtime/model_providers/bedrock/llm/llm.py @@ -1,9 +1,8 @@ # standard import import base64 -import io import json -import mimetypes import logging +import mimetypes from collections.abc import Generator from typing import Optional, Union, cast @@ -18,7 +17,6 @@ ServiceNotInRegionError, UnknownServiceError, ) -from PIL.Image import Image # local import from core.model_runtime.callbacks.base_callback import Callback