Skip to content

Commit

Permalink
revert Apply @check_init to decorators (#271)
Browse files Browse the repository at this point in the history
* revert Apply @check_init to decorators

* bump version
  • Loading branch information
siyangqiu authored Jun 26, 2024
1 parent 69f8567 commit 6d17133
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
10 changes: 0 additions & 10 deletions agentops/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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="areibman@gmail.com" },
{ name="Shawn Qiu", email="siyangqiu@gmail.com" },
Expand Down

0 comments on commit 6d17133

Please sign in to comment.