Skip to content

Commit

Permalink
small bug fix in _handle_cache.
Browse files Browse the repository at this point in the history
  • Loading branch information
djl11 committed Nov 7, 2024
1 parent 0fd3c0f commit 87e5c27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unify/evals/utils/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def wrapped(*args, **kwargs):
if ret is not None:
return ret
ret = fn(*args, **kwargs)
_write_to_cache(fn_name="log", kw=combined_kw, response=ret)
_write_to_cache(fn_name=fn.__name__, kw=combined_kw, response=ret)
return ret

return wrapped
Expand Down

0 comments on commit 87e5c27

Please sign in to comment.