mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-08 12:30:14 +00:00
fix: wrong default value of parameter parallel_executions for async_retry (#1545)
This commit is contained in:
@@ -338,7 +338,7 @@ class BaseChat(ABC):
|
||||
|
||||
@async_retry(
|
||||
retries=CFG.DBGPT_APP_SCENE_NON_STREAMING_RETRIES_BASE,
|
||||
parallel_executions=CFG.DBGPT_APP_SCENE_NON_STREAMING_RETRIES_BASE,
|
||||
parallel_executions=CFG.DBGPT_APP_SCENE_NON_STREAMING_PARALLELISM_BASE,
|
||||
catch_exceptions=(Exception, BaseAppException),
|
||||
)
|
||||
async def _no_streaming_call_with_retry(self, payload):
|
||||
|
Reference in New Issue
Block a user