Skip to content

Commit

Permalink
fix wrap
Browse files Browse the repository at this point in the history
  • Loading branch information
hughcrt committed Nov 12, 2024
1 parent 1f67e99 commit c46160b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions lunary/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,8 +394,7 @@ def sync_wrapper(*args, **kwargs):
tags=kwargs.pop("tags", None) or tags or tags_ctx.get(),
template_id=kwargs.get("extra_headers", {}).get(
"Template-Id", None
),
is_openai=True,
)
)
except Exception as e:
logging.exception(e)
Expand Down
1 change: 0 additions & 1 deletion lunary/thread.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ def track_event(self, event_name: str, user_id: str | None = None, user_props: d
- metadata (dict): A dictionary of metadata associated with the event.
"""

#TODO: remove event like start and end
self._track_event(
"thread",
"custom-event",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "lunary"
version = "1.1.13"
version = "1.1.14"
description = "Observability, analytics and evaluations for AI agents and chatbots."
authors = ["lunary <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit c46160b

Please sign in to comment.