mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
(feat) replicate/deployments: add POST Req view
This commit is contained in:
parent
07a2035651
commit
32ecc1a677
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ def start_prediction(version_id, input_data, api_token, api_base, logging_obj, p
|
|||
logging_obj.pre_call(
|
||||
input=input_data["prompt"],
|
||||
api_key="",
|
||||
additional_args={"complete_input_dict": initial_prediction_data, "headers": headers},
|
||||
additional_args={"complete_input_dict": initial_prediction_data, "headers": headers, "api_base": base_url},
|
||||
)
|
||||
|
||||
response = requests.post(f"{base_url}/predictions", json=initial_prediction_data, headers=headers)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue