Skip to content

UN-2646 [FEAT] LLMWhisperer image output mode adapter#2210

Draft
pk-zipstack wants to merge 3 commits into
mainfrom
feat/llmwhisperer-image-output-adapter
Draft

UN-2646 [FEAT] LLMWhisperer image output mode adapter#2210
pk-zipstack wants to merge 3 commits into
mainfrom
feat/llmwhisperer-image-output-adapter

[pre-commit.ci] auto fixes from pre-commit.com hooks

2a505bd
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jul 25, 2026 in 1m 26s

Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 55 in unstract/sdk1/tests/test_llmw_image_helper.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZ-Z-v6Z4HFOx29gm9XW&open=AZ-Z-v6Z4HFOx29gm9XW&pullRequest=2210

Check warning on line 120 in unstract/sdk1/tests/test_llmw_v2_process_image.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZ-Z-v_a4HFOx29gm9XZ&open=AZ-Z-v_a4HFOx29gm9XZ&pullRequest=2210

Check warning on line 447 in unstract/sdk1/src/unstract/sdk1/adapters/x2text/llm_whisperer_v2/src/helper.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Simplify this regular expression to reduce its runtime, as it has super-linear performance due to backtracking.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZ-Z-v_24HFOx29gm9Xa&open=AZ-Z-v_24HFOx29gm9Xa&pullRequest=2210

Check warning on line 59 in unstract/sdk1/tests/test_llmw_v2_process_image.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this exception test to have only one invocation possibly throwing an exception.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZ-Z-v_a4HFOx29gm9XY&open=AZ-Z-v_a4HFOx29gm9XY&pullRequest=2210

Check warning on line 90 in unstract/sdk1/tests/test_llmw_image_helper.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this assertion to not have the same actual and expected expression.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZ-Z-v6Z4HFOx29gm9XX&open=AZ-Z-v6Z4HFOx29gm9XX&pullRequest=2210