mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-28 09:56:22 +02:00
Fix startup error on import (#292)
This commit is contained in:
parent
1543a0650d
commit
701ec1e27e
1 changed files with 1 additions and 2 deletions
|
|
@ -5,7 +5,6 @@ Input is prompt, output is response. Mistral is default.
|
|||
"""
|
||||
|
||||
import boto3
|
||||
from botocore.errorfactory import ThrottlingException
|
||||
import json
|
||||
from prometheus_client import Histogram
|
||||
import os
|
||||
|
|
@ -259,7 +258,7 @@ class Processor(ConsumerProducer):
|
|||
|
||||
print("Done.", flush=True)
|
||||
|
||||
except ThrottlingException:
|
||||
except self.bedrock.exceptions.ThrottlingException:
|
||||
|
||||
print("Send rate limit response...", flush=True)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue