Skip to content

Commit 75b60e2

Browse files
committed
instrument dspy instead of dspy-ai
1 parent c8dca7a commit 75b60e2

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/langtrace_python_sdk/instrumentation/dspy/instrumentation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ class DspyInstrumentation(BaseInstrumentor):
2727
The DspyInstrumentor class represents the DSPy instrumentation"""
2828

2929
def instrumentation_dependencies(self) -> Collection[str]:
30-
return ["dspy-ai >= 2.0.0"]
30+
return ["dspy >= 2.0.0"]
3131

3232
def _instrument(self, **kwargs):
3333
tracer_provider = kwargs.get("tracer_provider")
3434
tracer = get_tracer(__name__, "", tracer_provider)
35-
version = v("dspy-ai")
35+
version = v("dspy")
3636
_W(
3737
"dspy.teleprompt.bootstrap",
3838
"BootstrapFewShot.compile",

src/langtrace_python_sdk/langtrace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ def init(
275275
"weaviate-client": WeaviateInstrumentation(),
276276
"sqlalchemy": SQLAlchemyInstrumentor(),
277277
"ollama": OllamaInstrumentor(),
278-
"dspy-ai": DspyInstrumentation(),
278+
"dspy": DspyInstrumentation(),
279279
"crewai": CrewAIInstrumentation(),
280280
"vertexai": VertexAIInstrumentation(),
281281
"google-cloud-aiplatform": VertexAIInstrumentation(),
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "3.3.12"
1+
__version__ = "3.3.13"

0 commit comments

Comments
 (0)