We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8791b09 commit cfd68d4Copy full SHA for cfd68d4
1 file changed
src/backend/sql_agents/convert_script.py
@@ -46,9 +46,9 @@ async def convert_script(
46
# Setup the group chat for the agents
47
comms_manager = CommsManager(
48
sql_agents.idx_agents,
49
- max_retries=5,
50
- initial_delay=1.0,
51
- backoff_factor=2.0,
+ max_retries=5, # Retry up to 5 times for rate limits
+ initial_delay=1.0, # Start with 1 second delay
+ backoff_factor=2.0, # Double delay each retry
52
)
53
54
# send websocket notification that file processing has started
@@ -275,8 +275,6 @@ async def convert_script(
275
logger.info(
276
"Analysis of source and migrated queries:\n%s", "semantic verifier response"
277
278
- # Delete the thread using CommsManager
279
- # await comms_manager.close()
280
281
return migrated_query
282
0 commit comments