Update api_usage.py
Browse files- api_usage.py +1 -0
api_usage.py
CHANGED
|
@@ -479,6 +479,7 @@ def invoke_claude(session, region, modelId):
|
|
| 479 |
return
|
| 480 |
except bedrock_runtime.exceptions.ResourceNotFoundException as error:
|
| 481 |
#print(error.response['Error'])
|
|
|
|
| 482 |
except Exception as e:
|
| 483 |
#print(e)
|
| 484 |
return
|
|
|
|
| 479 |
return
|
| 480 |
except bedrock_runtime.exceptions.ResourceNotFoundException as error:
|
| 481 |
#print(error.response['Error'])
|
| 482 |
+
return
|
| 483 |
except Exception as e:
|
| 484 |
#print(e)
|
| 485 |
return
|