Skip to content

Commit 8c55625

Browse files
authored
Support for Amazon SageMaker AI endpoints as Model Provider (#176)
1 parent b30e7e6 commit 8c55625

File tree

4 files changed

+1262
-6
lines changed

4 files changed

+1262
-6
lines changed

pyproject.toml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,14 @@ writer = [
8989
"writer-sdk>=2.2.0,<3.0.0"
9090
]
9191

92+
sagemaker = [
93+
"boto3>=1.26.0,<2.0.0",
94+
"botocore>=1.29.0,<2.0.0",
95+
"boto3-stubs[sagemaker-runtime]>=1.26.0,<2.0.0"
96+
]
97+
9298
a2a = [
93-
"a2a-sdk[sql]>=0.2.16,<1.0.0",
99+
"a2a-sdk[sql]>=0.2.11,<1.0.0",
94100
"uvicorn>=0.34.2,<1.0.0",
95101
"httpx>=0.28.1,<1.0.0",
96102
"fastapi>=0.115.12,<1.0.0",
@@ -136,7 +142,7 @@ all = [
136142
"opentelemetry-exporter-otlp-proto-http>=1.30.0,<2.0.0",
137143

138144
# a2a
139-
"a2a-sdk[sql]>=0.2.16,<1.0.0",
145+
"a2a-sdk[sql]>=0.2.11,<1.0.0",
140146
"uvicorn>=0.34.2,<1.0.0",
141147
"httpx>=0.28.1,<1.0.0",
142148
"fastapi>=0.115.12,<1.0.0",
@@ -148,7 +154,7 @@ all = [
148154
source = "vcs"
149155

150156
[tool.hatch.envs.hatch-static-analysis]
151-
features = ["anthropic", "litellm", "llamaapi", "ollama", "openai", "otel", "mistral", "writer", "a2a"]
157+
features = ["anthropic", "litellm", "llamaapi", "ollama", "openai", "otel", "mistral", "writer", "a2a", "sagemaker"]
152158
dependencies = [
153159
"mypy>=1.15.0,<2.0.0",
154160
"ruff>=0.11.6,<0.12.0",
@@ -171,7 +177,7 @@ lint-fix = [
171177
]
172178

173179
[tool.hatch.envs.hatch-test]
174-
features = ["anthropic", "litellm", "llamaapi", "ollama", "openai", "otel", "mistral", "writer", "a2a"]
180+
features = ["anthropic", "litellm", "llamaapi", "ollama", "openai", "otel", "mistral", "writer", "a2a", "sagemaker"]
175181
extra-dependencies = [
176182
"moto>=5.1.0,<6.0.0",
177183
"pytest>=8.0.0,<9.0.0",
@@ -187,7 +193,7 @@ extra-args = [
187193

188194
[tool.hatch.envs.dev]
189195
dev-mode = true
190-
features = ["dev", "docs", "anthropic", "litellm", "llamaapi", "ollama", "otel", "mistral", "writer", "a2a"]
196+
features = ["dev", "docs", "anthropic", "litellm", "llamaapi", "ollama", "otel", "mistral", "writer", "a2a", "sagemaker"]
191197

192198
[[tool.hatch.envs.hatch-test.matrix]]
193199
python = ["3.13", "3.12", "3.11", "3.10"]
@@ -315,4 +321,4 @@ style = [
315321
["instruction", ""],
316322
["text", ""],
317323
["disabled", "fg:#858585 italic"]
318-
]
324+
]

0 commit comments

Comments
 (0)