fix: wrong default value of parameter parallel_executions for async_retry (#1545)

This commit is contained in:
DQ 2024-05-20 19:48:19 +08:00 committed by GitHub
parent d9a60f9628
commit dcb1bd35d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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):