Skip to content

Python SDK for AI agent monitoring, LLM cost tracking, benchmarking, and more. Integrates with most LLMs and agent frameworks including CrewAI, Agno, OpenAI Agents SDK, Langchain, Autogen, AG2, and CamelAI

revert Apply @check_init to decorators (#271)

Shawn Qiu6d17133a8523
diff --git a/agentops/__init__.py b/agentops/__init__.py
index 7a31698d..8f8fdc9b 100755
--- a/agentops/__init__.py
+++ b/agentops/__init__.py
@@ -184,16 +184,6 @@ def set_tags(tags: List[str]):
Client().set_tags(tags)
-@check_init
-def record_function(event_name: str):
- return decorators.record_function(event_name)
-
-
-@check_init
-def track_agent(name: Union[str, None] = None):
- return agent.track_agent(name)
-
-
def get_api_key() -> str:
return Client().api_key
diff --git a/pyproject.toml b/pyproject.toml
index 5d00ec05..afa7d7af 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "agentops"
-version = "0.2.4"
+version = "0.2.5"
authors = [
{ name="Alex Reibman", email="[email protected]" },
{ name="Shawn Qiu", email="[email protected]" },