We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0b408b commit 8c8d4cbCopy full SHA for 8c8d4cb
1 file changed
packages/uipath-llamaindex/src/uipath_llamaindex/llms/bedrock.py
@@ -42,6 +42,8 @@ def _check_bedrock_dependencies() -> None:
42
_check_bedrock_dependencies()
43
44
import boto3 # type: ignore[import-untyped]
45
+from botocore import UNSIGNED
46
+from botocore.config import Config
47
from llama_index.core.base.llms.types import ( # noqa: E402
48
ChatMessage,
49
ChatResponse,
@@ -98,6 +100,12 @@ def get_client(self):
98
100
region_name="us-east-1",
99
101
aws_access_key_id="none",
102
aws_secret_access_key="none",
103
+ config=Config(
104
+ signature_version=UNSIGNED,
105
+ retries={
106
+ "total_max_attempts": 1,
107
+ },
108
+ ),
109
verify=True,
110
)
111
client.meta.events.register(
0 commit comments