Skip to content

Commit 50cd4f0

Browse files
authored
fix(crewai): Update CrewAI instrumentation name (#3363)
1 parent 5fbcccf commit 50cd4f0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/traceloop-sdk/traceloop/sdk/instruments.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ class Instruments(Enum):
77
BEDROCK = "bedrock"
88
CHROMA = "chroma"
99
COHERE = "cohere"
10-
CREW = "crew"
10+
CREWAI = "crewai"
11+
CREW = "crewai" # deprecated alias; remove in future major version
1112
GOOGLE_GENERATIVEAI = "google_generativeai"
1213
GROQ = "groq"
1314
HAYSTACK = "haystack"

packages/traceloop-sdk/traceloop/sdk/tracing/tracing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ def init_instrumentations(
455455
elif instrument == Instruments.COHERE:
456456
if init_cohere_instrumentor():
457457
instrument_set = True
458-
elif instrument == Instruments.CREW:
458+
elif instrument == Instruments.CREWAI:
459459
if init_crewai_instrumentor():
460460
instrument_set = True
461461
elif instrument == Instruments.GOOGLE_GENERATIVEAI:

0 commit comments

Comments
 (0)