Skip to content

Commit

Permalink
fix recursion
Browse files Browse the repository at this point in the history
  • Loading branch information
siyangqiu committed Jun 19, 2024
1 parent d86e889 commit 3684c99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agentops/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,12 +186,12 @@ def set_tags(tags: List[str]):

@check_init
def record_function(event_name: str):
return record_function(event_name)
return decorators.record_function(event_name)


@check_init
def track_agent(name: Union[str, None] = None):
return track_agent(name)
return agent.track_agent(name)


def get_api_key() -> str:
Expand Down

0 comments on commit 3684c99

Please sign in to comment.