mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
add flan + vicuna + fix replicate errors
This commit is contained in:
parent
48ee4a08ac
commit
1da6026622
3 changed files with 3 additions and 3 deletions
|
@ -39,7 +39,7 @@ def start_prediction(version_id, input_data, api_token, logging_obj):
|
|||
response_data = response.json()
|
||||
return response_data.get("urls", {}).get("get")
|
||||
else:
|
||||
raise ReplicateError(response.status_code, message=response.text)
|
||||
raise ReplicateError(response.status_code, f"Failed to start prediction {response.text}")
|
||||
|
||||
# Function to handle prediction response (non-streaming)
|
||||
def handle_prediction_response(prediction_url, api_token, print_verbose):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue