Skip to content

feat: Add LLM Device Abstraction Layer (#222)

0eba62b
Select commit
Loading
Failed to load commit list.
Closed

feat: Add LLM Device Abstraction Layer #240

feat: Add LLM Device Abstraction Layer (#222)
0eba62b
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Dec 4, 2025 in 31s

Annotations

Check failure on line 243 in llm_device.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "/claude/response" 3 times.

See more on https://sonarcloud.io/project/issues?id=cortexlinux_cortex&issues=AZrrBpNQwu0YssMsJupC&open=AZrrBpNQwu0YssMsJupC&pullRequest=240

Check failure on line 242 in llm_device.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "/claude/prompt" 5 times.

See more on https://sonarcloud.io/project/issues?id=cortexlinux_cortex&issues=AZrrBpNQwu0YssMsJupF&open=AZrrBpNQwu0YssMsJupF&pullRequest=240

Check failure on line 244 in llm_device.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "/claude/config" 4 times.

See more on https://sonarcloud.io/project/issues?id=cortexlinux_cortex&issues=AZrrBpNQwu0YssMsJupG&open=AZrrBpNQwu0YssMsJupG&pullRequest=240

Check warning on line 68 in llm_device.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add replacement fields or use a normal string instead of an f-string.

See more on https://sonarcloud.io/project/issues?id=cortexlinux_cortex&issues=AZrrBpNQwu0YssMsJupJ&open=AZrrBpNQwu0YssMsJupJ&pullRequest=240

Check failure on line 226 in llm_device.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "/sessions" 3 times.

See more on https://sonarcloud.io/project/issues?id=cortexlinux_cortex&issues=AZrrBpNQwu0YssMsJupD&open=AZrrBpNQwu0YssMsJupD&pullRequest=240

Check failure on line 267 in llm_device.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "/sessions/" 8 times.

See more on https://sonarcloud.io/project/issues?id=cortexlinux_cortex&issues=AZrrBpNQwu0YssMsJupH&open=AZrrBpNQwu0YssMsJupH&pullRequest=240

Check warning on line 57 in llm_device.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the unused function parameter "config".

See more on https://sonarcloud.io/project/issues?id=cortexlinux_cortex&issues=AZrrBpNQwu0YssMsJupI&open=AZrrBpNQwu0YssMsJupI&pullRequest=240

Check failure on line 245 in llm_device.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "/claude/metrics" 3 times.

See more on https://sonarcloud.io/project/issues?id=cortexlinux_cortex&issues=AZrrBpNQwu0YssMsJupE&open=AZrrBpNQwu0YssMsJupE&pullRequest=240

Check failure on line 368 in llm_device.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to not always return the same value.

See more on https://sonarcloud.io/project/issues?id=cortexlinux_cortex&issues=AZrrBpNQwu0YssMsJupK&open=AZrrBpNQwu0YssMsJupK&pullRequest=240