Skip to content

Commit f6c32d1

Browse files
authored
refactor(sagemaker): Drop AWS_REGION getenv. (#471)
1 parent 3838b9c commit f6c32d1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/any_llm/providers/sagemaker/sagemaker.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import asyncio
33
import functools
44
import json
5-
import os
65
from collections.abc import AsyncIterator, Callable, Iterator, Sequence
76
from typing import Any
87

@@ -90,7 +89,6 @@ def _init_client(self) -> None:
9089
self.client = boto3.client(
9190
"sagemaker-runtime",
9291
endpoint_url=self.config.api_base,
93-
region_name=os.getenv("AWS_REGION", "us-east-1"),
9492
**(self.config.client_args if self.config.client_args else {}),
9593
)
9694

0 commit comments

Comments
 (0)