Skip to content

Add require_llm() guard for retrievers that need an LLM

b4f63d5
Select commit
Loading
Failed to load commit list.
Open

UN-3215 [FIX] Add LLMCompat bridge class to fix retriever LLM compatibility with llama-index #1788

Add require_llm() guard for retrievers that need an LLM
b4f63d5
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Mar 18, 2026 in 1m 7s

Annotations

Check warning on line 749 in unstract/sdk1/src/unstract/sdk1/llm.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the unused function parameter "formatted".

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

Check warning on line 361 in unstract/sdk1/tests/test_llm_compat.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Merge these implicitly concatenated strings; or did you forget a comma?

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

Check warning on line 701 in unstract/sdk1/src/unstract/sdk1/llm.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the unused function parameter "formatted".

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