Add /dev/llm Virtual Device (Issue #223) #233
Quality Gate passed
Annotations
Check failure on line 368 in cortex/kernel_features/llm_device/llm_device.py
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=AZrn4RvolL331w9I4oPg&open=AZrn4RvolL331w9I4oPg&pullRequest=233
Check failure on line 242 in cortex/kernel_features/llm_device/llm_device.py
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=AZrn4RvolL331w9I4oPb&open=AZrn4RvolL331w9I4oPb&pullRequest=233
Check failure on line 226 in cortex/kernel_features/llm_device/llm_device.py
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=AZrn4RvolL331w9I4oPZ&open=AZrn4RvolL331w9I4oPZ&pullRequest=233
Check failure on line 245 in cortex/kernel_features/llm_device/llm_device.py
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=AZrn4RvolL331w9I4oPa&open=AZrn4RvolL331w9I4oPa&pullRequest=233
Check warning on line 57 in cortex/kernel_features/llm_device/llm_device.py
sonarqubecloud / SonarCloud Code Analysis
Remove the unused function parameter "config".
See more on https://sonarcloud.io/project/issues?id=cortexlinux_cortex&issues=AZrn4RvolL331w9I4oPe&open=AZrn4RvolL331w9I4oPe&pullRequest=233
Check failure on line 243 in cortex/kernel_features/llm_device/llm_device.py
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=AZrn4RvolL331w9I4oPY&open=AZrn4RvolL331w9I4oPY&pullRequest=233
Check failure on line 244 in cortex/kernel_features/llm_device/llm_device.py
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=AZrn4RvolL331w9I4oPc&open=AZrn4RvolL331w9I4oPc&pullRequest=233
Check failure on line 267 in cortex/kernel_features/llm_device/llm_device.py
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=AZrn4RvolL331w9I4oPd&open=AZrn4RvolL331w9I4oPd&pullRequest=233
Check warning on line 68 in cortex/kernel_features/llm_device/llm_device.py
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=AZrn4RvolL331w9I4oPf&open=AZrn4RvolL331w9I4oPf&pullRequest=233