mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
Merge pull request #4607 from maamalama/helicone-cohere
Helicone Headers & Cohere support
This commit is contained in:
commit
5ad341d0ff
3 changed files with 158 additions and 26 deletions
|
@ -811,6 +811,7 @@ class Logging:
|
|||
print_verbose("reaches helicone for logging!")
|
||||
model = self.model
|
||||
messages = self.model_call_details["input"]
|
||||
kwargs = self.model_call_details
|
||||
heliconeLogger.log_success(
|
||||
model=model,
|
||||
messages=messages,
|
||||
|
@ -818,6 +819,7 @@ class Logging:
|
|||
start_time=start_time,
|
||||
end_time=end_time,
|
||||
print_verbose=print_verbose,
|
||||
kwargs=kwargs,
|
||||
)
|
||||
if callback == "langfuse":
|
||||
global langFuseLogger
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue