mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
move baseten to a REST endpoint call
This commit is contained in:
parent
725611aa58
commit
6e30b234ac
10 changed files with 173 additions and 33 deletions
|
@ -29,7 +29,7 @@ class LiteDebugger:
|
|||
)
|
||||
|
||||
def input_log_event(
|
||||
self, model, messages, end_user, litellm_call_id, print_verbose
|
||||
self, model, messages, end_user, litellm_call_id, print_verbose, litellm_params, optional_params
|
||||
):
|
||||
try:
|
||||
print_verbose(
|
||||
|
@ -42,6 +42,8 @@ class LiteDebugger:
|
|||
"status": "initiated",
|
||||
"litellm_call_id": litellm_call_id,
|
||||
"user_email": self.user_email,
|
||||
"litellm_params": litellm_params,
|
||||
"optional_params": optional_params
|
||||
}
|
||||
response = requests.post(
|
||||
url=self.api_url,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue