Skip to content

Commit

Permalink
support crew by version
Browse files Browse the repository at this point in the history
  • Loading branch information
bboynton97 committed Sep 17, 2024
1 parent 456b9d8 commit 5a718cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agentops/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
crew_version = version.parse(get_version("crewai"))

# TODO: change on crew release
if False: # crew_version < version.parse("0.56.0"): # uses langchain
if crew_version < version.parse("0.56.0"): # uses langchain
Client().configure(instrument_llm_calls=False)
else: # uses LiteLLM
Client().configure(instrument_llm_calls=True)
Expand Down

0 comments on commit 5a718cb

Please sign in to comment.