We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4eac997 commit c57ed5bCopy full SHA for c57ed5b
src/backend/sql_agents/process_batch.py
@@ -117,8 +117,6 @@ async def process_batch_async(
117
batch_service,
118
sql_agents,
119
)
120
- # TEMPORARY: awaiting bug fix for rate limits
121
- await asyncio.sleep(5)
122
if converted_query:
123
# Add RAI disclaimer to the converted query
124
converted_query = add_rai_disclaimer(converted_query)
@@ -127,6 +125,8 @@ async def process_batch_async(
127
125
128
126
else:
129
await batch_service.update_file_counts(file["file_id"])
+ # TEMPORARY: awaiting bug fix for rate limits
+ await asyncio.sleep(5)
130
except UnicodeDecodeError as ucde:
131
logger.error("Error decoding file: %s", file)
132
logger.error("Error decoding file. %s", ucde)
0 commit comments