Skip to content

Commit

Permalink
Merge pull request #121 from log10-io/kt/add-missing-kind
Browse files Browse the repository at this point in the history
Add kind field completion in log_sync func
  • Loading branch information
kxtran authored Mar 18, 2024
2 parents 4aa874d + 2429465 commit 5120176
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions log10/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ def log_sync(completion_url, func, **kwargs):
kwargs.pop("api_key")
log_row = {
# do we want to also store args?
"kind": "chat" if "chat" in func.__module__ or "messages" in func.__module__ else "completion",
"status": "started",
"orig_module": func.__module__,
"orig_qualname": func.__qualname__,
Expand Down

0 comments on commit 5120176

Please sign in to comment.