Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e19c9ba

Browse files
committed
feat: Implement Mistral OpenTelemetry
1 parent 3c5de5f commit e19c9ba

File tree

10 files changed

+908
-1
lines changed

10 files changed

+908
-1
lines changed

sdks/python/pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ dependencies = [
3838
openai = ["openai>=1.98.0"]
3939
anthropic = ["anthropic>=0.63.0"]
4040
google = ["google-genai>=1.7.0,<2", "pillow>=10.4.0,<11", "proto-plus>=1.24.0"]
41+
mistral = ["mistralai>=1.9.0"]
4142

4243
[dependency-groups]
4344
dev = ["pyright>=1.1.403", "pre-commit>=3.5.0"]
@@ -51,6 +52,7 @@ test = [
5152
"inline-snapshot>=0.23.0",
5253
"python-dotenv>=1.1.1",
5354
"time-machine>=2.10.0",
55+
"mistralai>=1.9.0",
5456
]
5557
examples = ["openai>=1.98.0", "anthropic>=0.63.0"]
5658

sdks/python/src/lilypad/_internal/otel/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,12 @@
1111
with suppress(ImportError):
1212
from .google import instrument_google_genai as instrument_google_genai
1313

14+
with suppress(ImportError):
15+
from .mistral import instrument_mistral as instrument_mistral
16+
1417
__all__ = [
1518
"instrument_anthropic",
1619
"instrument_google_genai",
20+
"instrument_mistral",
1721
"instrument_openai",
1822
]

0 commit comments

Comments
 (0)