From 3684c99e25bc9f6e7b6fbd874473bb637d1c3620 Mon Sep 17 00:00:00 2001 From: Shawn Qiu Date: Wed, 19 Jun 2024 16:24:14 -0700 Subject: [PATCH] fix recursion --- agentops/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/agentops/__init__.py b/agentops/__init__.py index 483c5e250..e8600cce8 100755 --- a/agentops/__init__.py +++ b/agentops/__init__.py @@ -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: