@@ -49,6 +49,8 @@ packages = ["src/strands"]
49
49
anthropic = [
50
50
" anthropic>=0.21.0,<1.0.0" ,
51
51
]
52
+ # Optional dependencies for different AI providers
53
+
52
54
dev = [
53
55
" commitizen>=4.4.0,<5.0.0" ,
54
56
" hatch>=1.0.0,<2.0.0" ,
@@ -88,12 +90,17 @@ a2a = [
88
90
" starlette>=0.46.2" ,
89
91
]
90
92
93
+ portkey = [
94
+ " portkey-ai>=1.0.0,<2.0.0" ,
95
+ ]
96
+
91
97
[tool .hatch .version ]
92
98
# Tells Hatch to use your version control system (git) to determine the version.
93
99
source = " vcs"
94
100
95
101
[tool .hatch .envs .hatch-static-analysis ]
96
- features = [" anthropic" , " litellm" , " llamaapi" , " ollama" , " openai" , " otel" ]
102
+ features = [" anthropic" , " litellm" , " llamaapi" , " ollama" , " openai" ," otel" , " portkey" ]
103
+
97
104
dependencies = [
98
105
" mypy>=1.15.0,<2.0.0" ,
99
106
" ruff>=0.11.6,<0.12.0" ,
@@ -116,7 +123,7 @@ lint-fix = [
116
123
]
117
124
118
125
[tool .hatch .envs .hatch-test ]
119
- features = [" anthropic" , " litellm" , " llamaapi" , " ollama" , " openai" , " otel" ]
126
+ features = [" anthropic" , " litellm" , " llamaapi" , " ollama" , " openai" , " otel" , " portkey " ]
120
127
extra-dependencies = [
121
128
" moto>=5.1.0,<6.0.0" ,
122
129
" pytest>=8.0.0,<9.0.0" ,
@@ -132,7 +139,7 @@ extra-args = [
132
139
133
140
[tool .hatch .envs .dev ]
134
141
dev-mode = true
135
- features = [" dev" , " docs" , " anthropic" , " litellm" , " llamaapi" , " ollama" , " otel" ]
142
+ features = [" dev" , " docs" , " anthropic" , " litellm" , " llamaapi" , " ollama" , " otel, " , " portkey " ]
136
143
137
144
[tool .hatch .envs .a2a ]
138
145
dev-mode = true
0 commit comments