mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
fix(utils.py): fix helicone success logging integration
Fixes https://github.com/BerriAI/litellm/issues/4062
This commit is contained in:
parent
af39e2d2dd
commit
93a3a0cc1e
2 changed files with 3 additions and 2 deletions
|
@ -26,5 +26,6 @@
|
||||||
|
|
||||||
# # cohere call
|
# # cohere call
|
||||||
# response = completion(
|
# response = completion(
|
||||||
# model="command-nightly", messages=[{"role": "user", "content": "Hi 👋 - i'm cohere"}]
|
# model="command-nightly",
|
||||||
|
# messages=[{"role": "user", "content": "Hi 👋 - i'm cohere"}],
|
||||||
# )
|
# )
|
||||||
|
|
|
@ -1787,7 +1787,7 @@ class Logging:
|
||||||
if callback == "helicone":
|
if callback == "helicone":
|
||||||
print_verbose("reaches helicone for logging!")
|
print_verbose("reaches helicone for logging!")
|
||||||
model = self.model
|
model = self.model
|
||||||
messages = kwargs["input"]
|
messages = self.model_call_details["input"]
|
||||||
heliconeLogger.log_success(
|
heliconeLogger.log_success(
|
||||||
model=model,
|
model=model,
|
||||||
messages=messages,
|
messages=messages,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue