Skip to content

Commit 90fbe70

Browse files
siddhantwaghjalejsamuel1
authored andcommitted
feat: Add Mistral model support to strands (strands-agents#284)
* feat: add Mistral model support to strands * fix: testcase and better error handling * fix: Minor doc update
1 parent 3d3b8e7 commit 90fbe70

File tree

4 files changed

+1177
-3
lines changed

4 files changed

+1177
-3
lines changed

pyproject.toml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ litellm = [
7070
llamaapi = [
7171
"llama-api-client>=0.1.0,<1.0.0",
7272
]
73+
mistral = [
74+
"mistralai>=1.8.2",
75+
]
7376
ollama = [
7477
"ollama>=0.4.8,<1.0.0",
7578
]
@@ -92,7 +95,7 @@ a2a = [
9295
source = "vcs"
9396

9497
[tool.hatch.envs.hatch-static-analysis]
95-
features = ["anthropic", "litellm", "llamaapi", "ollama", "openai", "otel"]
98+
features = ["anthropic", "litellm", "llamaapi", "ollama", "openai", "otel","mistral"]
9699
dependencies = [
97100
"mypy>=1.15.0,<2.0.0",
98101
"ruff>=0.11.6,<0.12.0",
@@ -116,7 +119,7 @@ lint-fix = [
116119
]
117120

118121
[tool.hatch.envs.hatch-test]
119-
features = ["anthropic", "litellm", "llamaapi", "ollama", "openai", "otel"]
122+
features = ["anthropic", "litellm", "llamaapi", "ollama", "openai", "otel","mistral"]
120123
extra-dependencies = [
121124
"moto>=5.1.0,<6.0.0",
122125
"pytest>=8.0.0,<9.0.0",
@@ -132,7 +135,7 @@ extra-args = [
132135

133136
[tool.hatch.envs.dev]
134137
dev-mode = true
135-
features = ["dev", "docs", "anthropic", "litellm", "llamaapi", "ollama", "otel"]
138+
features = ["dev", "docs", "anthropic", "litellm", "llamaapi", "ollama", "otel","mistral"]
136139

137140
[tool.hatch.envs.a2a]
138141
dev-mode = true

0 commit comments

Comments
 (0)