Skip to content

[FIX] Address CodeRabbit review: add APITimeoutError, validate max_re…

c8054e8
Select commit
Loading
Failed to load commit list.
Open

[FIX] Unified retry for LLM and embedding providers #1886

[FIX] Address CodeRabbit review: add APITimeoutError, validate max_re…
c8054e8
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Apr 1, 2026 in 46s

Annotations

Check warning on line 329 in unstract/sdk1/src/unstract/sdk1/utils/retry_utils.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add logic to this except clause or eliminate it and rethrow the exception automatically.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZ1IoIdsctYgW84jWMly&open=AZ1IoIdsctYgW84jWMly&pullRequest=1886

Check failure on line 266 in unstract/sdk1/src/unstract/sdk1/utils/retry_utils.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 20 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZ1IoIdsctYgW84jWMlx&open=AZ1IoIdsctYgW84jWMlx&pullRequest=1886