-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AgentOps Implementation #411
Conversation
|
# Conflicts: # poetry.lock # src/crewai/tools/tool_usage.py
# Conflicts: # src/crewai/crew.py
@joaomdmoura possible to merge this branch soon? We really need AgentOps to monitor the performance of a support bot we're building using Crew. |
# Conflicts: # src/crewai/crew.py
# Conflicts: # poetry.lock
pyproject.toml
Outdated
@@ -28,6 +28,7 @@ click = "^8.1.7" | |||
python-dotenv = "1.0.0" | |||
embedchain = "^0.1.98" | |||
appdirs = "^1.4.4" | |||
agentops = "^0.1.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's make it optional, same way we do to crewai-tools, so we don't add the extra dependency for everyone, feel unnecessary if people are not using agent ops
pyproject.toml
Outdated
@@ -28,6 +28,7 @@ click = "^8.1.7" | |||
python-dotenv = "1.0.0" | |||
embedchain = "^0.1.98" | |||
appdirs = "^1.4.4" | |||
agentops = { version = "^0.1.1", optional = true } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updating it to be an option dependency, so we might need to add some fallback when importing the agent ops
temporarily merging this for the weekend |
This reverts commit 3d52575.
* implements agentops with a langchain handler, agent tracking and tool call recording * track tool usage * end session after completion * track tool usage time * better tool and llm tracking * code cleanup * make agentops optional * optional dependency usage * remove telemetry code * optional agentops * agentops version bump * remove org key * true dependency * add crew org key to agentops * cleanup * Update pyproject.toml * Revert "true dependency" This reverts commit e52e8e9. * Revert "cleanup" This reverts commit 7f5635f. * optional parent key * agentops 0.1.5 * Revert "Revert "cleanup"" This reverts commit cea33d9. * Revert "Revert "true dependency"" This reverts commit 4d1b460 * cleanup * Forcing version 0.1.5 * Update pyproject.toml --------- Co-authored-by: João Moura <[email protected]>
This reverts commit bf436f8.
Integrates AgentOps.
Adds support for tracking LLM calls, Agents, and Tool usage