LocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.
This report presents the forensic synthetic code analysis of mudler/LocalAI, a Go project with 47,527 GitHub stars. SynthScan v2.0 examined 505,775 lines of code across 2731 source files, recording 1639 pattern matches distributed across 23 syntactic categories. The overall adjusted score of 5.1 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 1639 distinct pattern matches across 23 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | backend/python/pocket-tts/backend.py | 0 | backendservicer is the class that implements the grpc service | STRING |
| HIGH | backend/python/vibevoice/backend.py | 0 | backendservicer is the class that implements the grpc service | STRING |
| HIGH | backend/python/kitten-tts/backend.py | 0 | backendservicer is the class that implements the grpc service | STRING |
| HIGH | backend/python/whisperx/backend.py | 0 | backendservicer is the class that implements the grpc service | STRING |
| HIGH | backend/python/chatterbox/backend.py | 0 | backendservicer is the class that implements the grpc service | STRING |
| HIGH | backend/python/coqui/backend.py | 0 | backendservicer is the class that implements the grpc service | STRING |
| HIGH | backend/python/moonshine/backend.py | 0 | backendservicer is the class that implements the grpc service | STRING |
| HIGH | backend/python/neutts/backend.py | 0 | backendservicer is the class that implements the grpc service | STRING |
| HIGH | backend/python/qwen-tts/backend.py | 0 | backendservicer is the class that implements the grpc service | STRING |
| HIGH | backend/python/kokoro/backend.py | 0 | backendservicer is the class that implements the grpc service | STRING |
| HIGH | backend/python/faster-whisper/backend.py | 0 | backendservicer is the class that implements the grpc service | STRING |
| HIGH | backend/python/fish-speech/backend.py | 0 | backendservicer is the class that implements the grpc service | STRING |
| HIGH | backend/python/voxcpm/backend.py | 0 | backendservicer is the class that implements the grpc service | STRING |
| HIGH | backend/python/pocket-tts/test.py | 0 | testbackendservicer is the class that tests the grpc service | STRING |
| HIGH | backend/python/vibevoice/test.py | 0 | testbackendservicer is the class that tests the grpc service | STRING |
| HIGH | backend/python/kitten-tts/test.py | 0 | testbackendservicer is the class that tests the grpc service | STRING |
| HIGH | backend/python/rerankers/test.py | 0 | testbackendservicer is the class that tests the grpc service | STRING |
| HIGH | backend/python/diffusers/test.py | 0 | testbackendservicer is the class that tests the grpc service | STRING |
| HIGH | backend/python/whisperx/test.py | 0 | testbackendservicer is the class that tests the grpc service | STRING |
| HIGH | backend/python/chatterbox/test.py | 0 | testbackendservicer is the class that tests the grpc service | STRING |
| HIGH | backend/python/coqui/test.py | 0 | testbackendservicer is the class that tests the grpc service | STRING |
| HIGH | backend/python/moonshine/test.py | 0 | testbackendservicer is the class that tests the grpc service | STRING |
| HIGH | backend/python/transformers/test.py | 0 | testbackendservicer is the class that tests the grpc service | STRING |
| HIGH | backend/python/neutts/test.py | 0 | testbackendservicer is the class that tests the grpc service | STRING |
| HIGH | backend/python/qwen-tts/test.py | 0 | testbackendservicer is the class that tests the grpc service | STRING |
| HIGH | backend/python/kokoro/test.py | 0 | testbackendservicer is the class that tests the grpc service | STRING |
| HIGH | backend/python/fish-speech/test.py | 0 | testbackendservicer is the class that tests the grpc service | STRING |
| HIGH | backend/python/voxcpm/test.py | 0 | testbackendservicer is the class that tests the grpc service | STRING |
| HIGH | backend/python/pocket-tts/test.py | 0 | this method sets up the grpc service by starting the server | STRING |
| HIGH | backend/python/vibevoice/test.py | 0 | this method sets up the grpc service by starting the server | STRING |
| HIGH | backend/python/kitten-tts/test.py | 0 | this method sets up the grpc service by starting the server | STRING |
| HIGH | backend/python/rerankers/test.py | 0 | this method sets up the grpc service by starting the server | STRING |
| HIGH | backend/python/diffusers/test.py | 0 | this method sets up the grpc service by starting the server | STRING |
| HIGH | backend/python/whisperx/test.py | 0 | this method sets up the grpc service by starting the server | STRING |
| HIGH | backend/python/chatterbox/test.py | 0 | this method sets up the grpc service by starting the server | STRING |
| HIGH | backend/python/coqui/test.py | 0 | this method sets up the grpc service by starting the server | STRING |
| HIGH | backend/python/moonshine/test.py | 0 | this method sets up the grpc service by starting the server | STRING |
| HIGH | backend/python/transformers/test.py | 0 | this method sets up the grpc service by starting the server | STRING |
| HIGH | backend/python/neutts/test.py | 0 | this method sets up the grpc service by starting the server | STRING |
| HIGH | backend/python/qwen-tts/test.py | 0 | this method sets up the grpc service by starting the server | STRING |
| HIGH | backend/python/kokoro/test.py | 0 | this method sets up the grpc service by starting the server | STRING |
| HIGH | backend/python/fish-speech/test.py | 0 | this method sets up the grpc service by starting the server | STRING |
| HIGH | backend/python/voxcpm/test.py | 0 | this method sets up the grpc service by starting the server | STRING |
| HIGH | backend/python/pocket-tts/test.py | 0 | this method tears down the grpc service by terminating the server | STRING |
| HIGH | backend/python/vibevoice/test.py | 0 | this method tears down the grpc service by terminating the server | STRING |
| HIGH | backend/python/kitten-tts/test.py | 0 | this method tears down the grpc service by terminating the server | STRING |
| HIGH | backend/python/rerankers/test.py | 0 | this method tears down the grpc service by terminating the server | STRING |
| HIGH | backend/python/diffusers/test.py | 0 | this method tears down the grpc service by terminating the server | STRING |
| HIGH | backend/python/whisperx/test.py | 0 | this method tears down the grpc service by terminating the server | STRING |
| HIGH | backend/python/chatterbox/test.py | 0 | this method tears down the grpc service by terminating the server | STRING |
| HIGH | backend/python/coqui/test.py | 0 | this method tears down the grpc service by terminating the server | STRING |
| HIGH | backend/python/moonshine/test.py | 0 | this method tears down the grpc service by terminating the server | STRING |
| HIGH | backend/python/transformers/test.py | 0 | this method tears down the grpc service by terminating the server | STRING |
| HIGH | backend/python/neutts/test.py | 0 | this method tears down the grpc service by terminating the server | STRING |
| HIGH | backend/python/qwen-tts/test.py | 0 | this method tears down the grpc service by terminating the server | STRING |
| HIGH | backend/python/kokoro/test.py | 0 | this method tears down the grpc service by terminating the server | STRING |
| HIGH | backend/python/fish-speech/test.py | 0 | this method tears down the grpc service by terminating the server | STRING |
| HIGH | backend/python/voxcpm/test.py | 0 | this method tears down the grpc service by terminating the server | STRING |
| HIGH | backend/python/pocket-tts/test.py | 0 | this method tests if the server starts up successfully | STRING |
| HIGH | backend/python/vibevoice/test.py | 0 | this method tests if the server starts up successfully | STRING |
| 58 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docker-compose.yaml | 21 | # - DEBUG=true | COMMENT |
| LOW | docker-compose.yaml | 41 | - phi-2 | COMMENT |
| LOW | docker-compose.yaml | 61 | # init: true | COMMENT |
| LOW | docker-compose.distributed.yaml | 1 | # Docker Compose for LocalAI Distributed Mode | COMMENT |
| LOW | docker-compose.distributed.yaml | 61 | # models directory at the SAME path (see "Shared Volume Mode" below). | COMMENT |
| LOW | docker-compose.distributed.yaml | 121 | volumes: | COMMENT |
| LOW | docker-compose.distributed.yaml | 141 | # deploy: | COMMENT |
| LOW | docker-compose.distributed.yaml | 161 | # | COMMENT |
| LOW | cmd/launcher/internal/release_manager.go | 41 | type ReleaseManager struct { | COMMENT |
| LOW | .docker/llama-cpp-compile.sh | 21 | if [ -z "${BUILD_TYPE:-}" ]; then | COMMENT |
| LOW | .docker/install-base-deps.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | .docker/install-base-deps.sh | 21 | # CUDA_MINOR_VERSION ("8" | "0" | "") | COMMENT |
| LOW | .docker/apt-mirror.sh | 1 | #!/bin/sh | COMMENT |
| LOW | core/trace/audio_snippet.go | 21 | // ~-90 dBFS least-significant-bit floor, so it reads unambiguously as | COMMENT |
| LOW | core/trace/backend_trace.go | 61 | // MaxTraceBodyBytes caps the per-trace stored request body. Roomy | COMMENT |
| LOW | core/trace/backend_trace.go | 141 | // intentionally short and not valid base64/JSON: it flags "this was dropped" | COMMENT |
| LOW | core/config/model_config.go | 81 | // ReasoningEffort is the default reasoning effort (none|minimal|low|medium|high) | COMMENT |
| LOW | core/config/model_config.go | 161 | // RetryAfterSeconds advises clients how long to wait before | COMMENT |
| LOW | core/config/model_config.go | 181 | COMMENT | |
| LOW | core/config/model_config.go | 201 | // Mode selects passthrough (wire-perfect) or translate (full | COMMENT |
| LOW | core/config/model_config.go | 261 | // a Router block, requests addressed to it are reclassified at runtime | COMMENT |
| LOW | core/config/model_config.go | 281 | // in the system prompt the classifier model sees — short, action- | COMMENT |
| LOW | core/config/model_config.go | 301 | COMMENT | |
| LOW | core/config/model_config.go | 321 | // (Label + Description fields). Empty falls back to the built-in | COMMENT |
| LOW | core/config/model_config.go | 341 | // {"route": "name"}. | COMMENT |
| LOW | core/config/model_config.go | 361 | // nomic-embed-text-v1.5 is the recommended default. | COMMENT |
| LOW | core/config/model_config.go | 401 | COMMENT | |
| LOW | core/config/model_config.go | 421 | // the YAML key is distinguishable from explicit false. | COMMENT |
| LOW | core/config/model_config.go | 441 | MinScore float32 `yaml:"min_score,omitempty" json:"min_score,omitempty"` | COMMENT |
| LOW | core/config/model_config.go | 621 | COMMENT | |
| LOW | core/config/model_config.go | 641 | // DisableThinking suppresses reasoning/thinking for the pipeline LLM (maps | COMMENT |
| LOW | core/config/model_config.go | 661 | VoiceRecognition *PipelineVoiceRecognition `yaml:"voice_recognition,omitempty" json:"voice_recognition,omitempty"` | COMMENT |
| LOW | core/config/model_config.go | 681 | COMMENT | |
| LOW | core/config/model_config.go | 821 | Threshold float32 `yaml:"threshold,omitempty" json:"threshold,omitempty"` | COMMENT |
| LOW | core/config/model_config.go | 861 | // Announce emits a conversation.item.speaker event to the client. | COMMENT |
| LOW | core/config/model_config.go | 961 | return nil | COMMENT |
| LOW | core/config/model_config.go | 1241 | debug := lo.debug | COMMENT |
| LOW | core/config/model_config.go | 1541 | // Marks a model as wired for the Depth gRPC primitive (per-pixel | COMMENT |
| LOW | core/config/model_config.go | 1641 | } | COMMENT |
| LOW | core/config/runtime_settings.go | 101 | // PIIDefaultDetectors are the token-classification detector models applied | COMMENT |
| LOW | core/config/model_config_loader.go | 441 | //glamText("**Usage**") | COMMENT |
| LOW | core/config/runtime_settings_persist.go | 41 | // faithful partial update: a caller that submits only the field it owns | COMMENT |
| LOW | core/config/runtime_settings_persist_test.go | 121 | // /api/branding/asset/:kind endpoints, not by /api/settings. | COMMENT |
| LOW | core/config/defaults.go | 1 | package config | COMMENT |
| LOW | core/config/defaults.go | 21 | // DefaultAutoContextSize caps the context we auto-derive from a GGUF when the | COMMENT |
| LOW | core/config/context_fit.go | 21 | // candidate that fits. | COMMENT |
| LOW | core/config/context_fit.go | 81 | // not clamp the context. | COMMENT |
| LOW | core/config/application_config.go | 61 | // routing module's billing recorder runs in every mode (including | COMMENT |
| LOW | core/config/application_config.go | 161 | // Agent Pool (LocalAGI integration) | COMMENT |
| LOW | core/config/hooks_llamacpp.go | 41 | } | COMMENT |
| LOW | core/config/hardware_defaults.go | 21 | // defaults pipeline with no ApplicationConfig in scope to plumb through. | COMMENT |
| LOW | core/config/hardware_defaults.go | 41 | type GPU struct { | COMMENT |
| LOW | core/config/hardware_defaults.go | 61 | ) | COMMENT |
| LOW | core/config/hardware_defaults.go | 81 | // These constants size a conservative guard: only raise the batch when the | COMMENT |
| LOW | core/config/hardware_defaults.go | 121 | return DefaultPhysicalBatch | COMMENT |
| LOW | core/config/hardware_defaults.go | 161 | // against, which the single-pass path previously bypassed entirely. | COMMENT |
| LOW | core/config/hardware_defaults.go | 301 | COMMENT | |
| LOW | core/config/distributed_config.go | 21 | // RegistrationRequireAuth fails startup when distributed mode is enabled but | COMMENT |
| LOW | core/config/distributed_config.go | 81 | COMMENT | |
| LOW | core/config/gallery.go | 1 | package config | COMMENT |
| 493 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_invariant_backend.py | 37 | except Exception: | CODE |
| MEDIUM | backend/python/liquid-audio/backend.py | 146 | def LoadModel(self, request, context): | CODE |
| MEDIUM | backend/python/liquid-audio/backend.py | 222 | def Predict(self, request, context): | CODE |
| MEDIUM | backend/python/liquid-audio/backend.py | 233 | def PredictStream(self, request, context): | CODE |
| MEDIUM | backend/python/liquid-audio/backend.py | 305 | def TTS(self, request, context): | CODE |
| MEDIUM | backend/python/liquid-audio/backend.py | 521 | def AudioTranscription(self, request, context): | CODE |
| MEDIUM | backend/python/liquid-audio/backend.py | 622 | def _run_training(self, request, job): | CODE |
| LOW⚡ | backend/python/liquid-audio/backend.py | 126 | except Exception: | CODE |
| LOW⚡ | backend/python/liquid-audio/backend.py | 134 | except Exception: | CODE |
| LOW⚡ | backend/python/liquid-audio/backend.py | 137 | except Exception as exc: | CODE |
| LOW | backend/python/liquid-audio/backend.py | 216 | except Exception as exc: | CODE |
| LOW | backend/python/liquid-audio/backend.py | 226 | except Exception as exc: | CODE |
| LOW | backend/python/liquid-audio/backend.py | 237 | except Exception as exc: | CODE |
| LOW | backend/python/liquid-audio/backend.py | 297 | except Exception as exc: | CODE |
| LOW | backend/python/liquid-audio/backend.py | 361 | except Exception as exc: | CODE |
| LOW | backend/python/liquid-audio/backend.py | 377 | except Exception as exc: | CODE |
| LOW | backend/python/liquid-audio/backend.py | 566 | except Exception as exc: | CODE |
| LOW | backend/python/liquid-audio/backend.py | 630 | except Exception as exc: | CODE |
| LOW | backend/python/liquid-audio/backend.py | 691 | except Exception: | CODE |
| LOW | backend/python/pocket-tts/backend.py | 117 | except Exception as e: | CODE |
| LOW | backend/python/pocket-tts/backend.py | 120 | except Exception as err: | CODE |
| LOW | backend/python/pocket-tts/backend.py | 150 | except Exception as e: | CODE |
| MEDIUM | backend/python/pocket-tts/backend.py | 151 | print(f"Error loading voice from {voice_input}: {e}", file=sys.stderr) | CODE |
| LOW | backend/python/pocket-tts/backend.py | 220 | except Exception as err: | CODE |
| MEDIUM | backend/python/pocket-tts/backend.py | 221 | print(f"Error in TTS: {err}", file=sys.stderr) | CODE |
| MEDIUM | backend/python/pocket-tts/backend.py | 154 | def TTS(self, request, context): | CODE |
| LOW | backend/python/pocket-tts/test.py | 43 | except Exception as err: | CODE |
| LOW | backend/python/pocket-tts/test.py | 61 | except Exception as err: | CODE |
| LOW | backend/python/pocket-tts/test.py | 98 | except Exception as err: | CODE |
| LOW | backend/python/pocket-tts/test.py | 137 | except Exception as err: | CODE |
| LOW | backend/python/ace-step/backend.py | 291 | except Exception: | CODE |
| LOW | backend/python/ace-step/backend.py | 369 | except Exception as e: | CODE |
| LOW | backend/python/ace-step/backend.py | 391 | except Exception as err: | CODE |
| MEDIUM | backend/python/ace-step/backend.py | 308 | def LoadModel(self, request, context): | CODE |
| LOW | backend/python/vibevoice/backend.py | 272 | except Exception as e: | CODE |
| MEDIUM | backend/python/vibevoice/backend.py | 276 | print("Error loading the ASR model. Trying to use SDPA.", file=sys.stderr) | CODE |
| LOW | backend/python/vibevoice/backend.py | 330 | except Exception as e: | CODE |
| MEDIUM | backend/python/vibevoice/backend.py | 334 | print("Error loading the model. Trying to use SDPA. However, note that only flash_attention_2 ha | CODE |
| LOW | backend/python/vibevoice/backend.py | 359 | except Exception as err: | CODE |
| MEDIUM | backend/python/vibevoice/backend.py | 463 | print(f"Error accessing self.device: {e}, falling back to CPU", file=sys.stderr) | CODE |
| LOW | backend/python/vibevoice/backend.py | 577 | except Exception as err: | CODE |
| MEDIUM | backend/python/vibevoice/backend.py | 578 | print(f"Error in TTS: {err}", file=sys.stderr) | CODE |
| MEDIUM | backend/python/vibevoice/backend.py | 598 | print(f"Error: Audio file not found: {audio_path}", file=sys.stderr) | CODE |
| LOW | backend/python/vibevoice/backend.py | 691 | except Exception as e: | CODE |
| LOW | backend/python/vibevoice/backend.py | 717 | except Exception as err: | CODE |
| MEDIUM | backend/python/vibevoice/backend.py | 718 | print(f"Error in AudioTranscription: {err}", file=sys.stderr) | CODE |
| MEDIUM | backend/python/vibevoice/backend.py | 475 | def TTS(self, request, context): | CODE |
| LOW | backend/python/vibevoice/test.py | 48 | except Exception as err: | CODE |
| LOW | backend/python/vibevoice/test.py | 66 | except Exception as err: | CODE |
| LOW | backend/python/vibevoice/test.py | 90 | except Exception as err: | CODE |
| LOW | backend/python/vibevoice/test.py | 128 | except Exception as err: | CODE |
| LOW | backend/python/vibevoice/test.py | 203 | except Exception as err: | CODE |
| LOW | backend/python/kitten-tts/backend.py | 56 | except Exception as err: | CODE |
| LOW | backend/python/kitten-tts/backend.py | 74 | except Exception as err: | CODE |
| MEDIUM | backend/python/kitten-tts/backend.py | 62 | def TTS(self, request, context): | CODE |
| LOW | backend/python/kitten-tts/test.py | 41 | except Exception as err: | CODE |
| LOW | backend/python/kitten-tts/test.py | 59 | except Exception as err: | CODE |
| LOW | backend/python/kitten-tts/test.py | 78 | except Exception as err: | CODE |
| LOW | backend/python/rerankers/backend.py | 69 | except Exception as err: | CODE |
| LOW | backend/python/rerankers/test.py | 41 | except Exception as err: | CODE |
| 356 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | core/http/react-ui/src/utils/artifacts.js | 151 | export function renderMarkdownWithArtifacts(text, messageIndex) { | CODE |
| LOW | core/http/react-ui/src/utils/cmYamlComplete.js | 116 | export function createYamlCompletionSource(fields) { | CODE |
| LOW | core/http/react-ui/src/pages/Usage.jsx | 190 | function generateFutureBucketLabels(lastBucket, count, period) { | CODE |
| LOW | core/http/react-ui/src/pages/Middleware.jsx | 448 | function formatDecisionScoreSuffix(d, activeSet) { | CODE |
| LOW | core/http/react-ui/src/pages/BackendLogs.jsx | 279 | function DistributedBackendLogsResolver({ modelId, fromTimestamp }) { | CODE |
| LOW | core/http/static/talk.js | 138 | function updateStreamingTranscript(role, delta) { | CODE |
| LOW | core/http/static/talk.js | 148 | function finalizeStreamingTranscript(role, fullText) { | CODE |
| LOW | core/http/static/chat.js | 544 | function startTokensPerSecondInterval() { | CODE |
| LOW | core/http/static/chat.js | 640 | function stopTokensPerSecondInterval() { | CODE |
| LOW | core/http/static/chat.js | 707 | function updateMaxTokensPerSecondBadge(chatId, maxRate) { | CODE |
| LOW | core/http/static/chat.js | 729 | function scrollThinkingBoxToBottom() { | CODE |
| LOW | core/http/static/chat.js | 1015 | function processAndSendMessage(inputValue) { | CODE |
| LOW | core/http/static/assets/pdf.min.js | 22 | !function webpackUniversalModuleDefinition(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=t.pdfjs | CODE |
| LOW | tests/test_invariant_backend.py | 15 | def test_dataset_source_path_traversal_blocked(dataset_source): | CODE |
| LOW | backend/python/liquid-audio/backend.py | 53 | def _patch_liquid_audio_local_paths(): | CODE |
| LOW | backend/python/liquid-audio/backend.py | 68 | def _local_first_snapshot_download(repo_id, revision=None, **kwargs): | CODE |
| LOW | backend/python/liquid-audio/test.py | 51 | def test_load_finetune_mode_without_weights(self): | CODE |
| LOW | backend/python/pocket-tts/test.py | 104 | def test_tts_with_default_voice(self): | CODE |
| LOW | backend/python/ace-step/test.py | 34 | def test_sound_generation_minimal(self): | CODE |
| LOW | backend/python/tinygrad/test.py | 63 | def test_multi_call_and_thinking(self): | CODE |
| LOW | backend/python/tinygrad/test.py | 76 | def test_no_tool_call_is_passthrough(self): | CODE |
| LOW | backend/python/tinygrad/test.py | 111 | def test_keymap_renames_every_hf_key(self): | CODE |
| LOW⚡ | backend/python/tinygrad/test.py | 129 | def test_tied_embedding_fallback_when_lm_head_missing(self): | CODE |
| LOW⚡ | backend/python/tinygrad/test.py | 135 | def test_unknown_keys_are_skipped(self): | CODE |
| LOW⚡ | backend/python/tinygrad/test.py | 144 | def test_qkv_bias_models_rejected(self): | CODE |
| LOW | backend/python/nemo/backend.py | 105 | def _build_segments_with_words(self, hypothesis, stride, timestamp_granularities=None): | CODE |
| LOW⚡ | backend/python/diffusers/test.py | 195 | def test_resolve_pipeline_class_by_name(self): | CODE |
| LOW⚡ | backend/python/diffusers/test.py | 200 | def test_resolve_pipeline_class_by_name_case_insensitive(self): | CODE |
| LOW⚡ | backend/python/diffusers/test.py | 206 | def test_resolve_pipeline_class_by_task(self): | CODE |
| LOW⚡ | backend/python/diffusers/test.py | 216 | def test_resolve_pipeline_class_unknown_name_raises(self): | CODE |
| LOW⚡ | backend/python/diffusers/test.py | 226 | def test_resolve_pipeline_class_unknown_task_raises(self): | CODE |
| LOW⚡ | backend/python/diffusers/test.py | 236 | def test_resolve_pipeline_class_no_params_raises(self): | CODE |
| LOW⚡ | backend/python/diffusers/test.py | 270 | def test_discover_diffusers_classes_caches_results(self): | CODE |
| LOW⚡ | backend/python/diffusers/test.py | 278 | def test_discover_diffusers_classes_exclude_base(self): | CODE |
| LOW⚡ | backend/python/diffusers/test.py | 285 | def test_get_available_classes(self): | CODE |
| LOW | backend/python/diffusers/test.py | 108 | def test_camel_to_kebab_conversion(self): | CODE |
| LOW | backend/python/diffusers/test.py | 121 | def test_extract_task_keywords(self): | CODE |
| LOW | backend/python/diffusers/test.py | 141 | def test_discover_pipelines_finds_known_classes(self): | CODE |
| LOW | backend/python/diffusers/test.py | 162 | def test_discover_pipelines_caches_results(self): | CODE |
| LOW | backend/python/diffusers/test.py | 171 | def test_get_available_pipelines(self): | CODE |
| LOW | backend/python/diffusers/test.py | 252 | def test_get_pipeline_info_unknown_raises(self): | CODE |
| LOW | backend/python/diffusers/test.py | 259 | def test_discover_diffusers_classes_pipelines(self): | CODE |
| LOW | backend/python/diffusers/test.py | 300 | def test_load_pipeline_requires_model_id(self): | CODE |
| LOW | backend/python/diffusers/test.py | 307 | def test_resolve_with_model_id_uses_diffusion_pipeline_fallback(self): | CODE |
| LOW | backend/python/diffusers/test.py | 326 | def test_options_merged_into_pipeline_kwargs(self): | CODE |
| LOW | backend/python/diffusers/diffusers_dynamic_loader.py | 124 | def discover_diffusers_classes( | CODE |
| LOW | backend/python/chatterbox/backend.py | 54 | def split_text_at_word_boundary(text, max_length=250): | CODE |
| LOW | backend/python/vllm/test.py | 171 | def test_apply_engine_args_known_keys(self): | CODE |
| LOW | backend/python/vllm/test.py | 192 | def test_apply_engine_args_unknown_key_raises(self): | CODE |
| LOW | backend/python/vllm/test.py | 209 | def test_apply_engine_args_empty_passthrough(self): | CODE |
| LOW | backend/python/vllm/test.py | 335 | def test_buffer_path_no_markup_no_duplication(self): | CODE |
| LOW | backend/python/vllm/test.py | 388 | def test_native_streaming_progressive_plain_text(self): | CODE |
| LOW | backend/python/vllm/test.py | 403 | def extract_tool_calls_streaming( | CODE |
| LOW | backend/python/vllm/test.py | 440 | def test_native_streaming_tool_call_no_markup_leak(self): | CODE |
| LOW | backend/python/vllm/test.py | 454 | def extract_tool_calls_streaming( | CODE |
| LOW | backend/python/vllm/test.py | 489 | def test_native_streaming_parser_exception_falls_back_to_buffer(self): | CODE |
| LOW | backend/python/vllm/test.py | 499 | def extract_tool_calls_streaming(self, *a, **kw): | CODE |
| LOW | backend/python/vllm/test.py | 523 | def test_no_tool_parser_unchanged_per_delta_stream(self): | CODE |
| LOW | backend/python/speaker-recognition/test.py | 52 | def test_pre_load_voice_calls_are_rejected(self): | CODE |
| LOW | backend/python/speaker-recognition/test.py | 58 | def test_load_without_deps_fails_cleanly(self): | CODE |
| 76 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | core/schema/localai.go | 238 | // ─── Face recognition ────────────────────────────────────────────── | COMMENT |
| MEDIUM | core/schema/localai.go | 365 | // ─── Voice (speaker) recognition ─────────────────────────────────── | COMMENT |
| MEDIUM | core/http/react-ui/src/pages/Quantize.jsx | 19 | // ── Reusable sub-components ────────────────────────────────────── | COMMENT |
| MEDIUM | core/http/react-ui/src/pages/Quantize.jsx | 191 | // ── Main page ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | core/http/react-ui/src/pages/FaceRecognition.jsx | 84 | // ──────────────────────────── Analyze ──────────────────────────── | COMMENT |
| MEDIUM | core/http/react-ui/src/pages/FaceRecognition.jsx | 218 | // ──────────────────────────── Compare ──────────────────────────── | COMMENT |
| MEDIUM | core/http/react-ui/src/pages/FaceRecognition.jsx | 333 | // ──────────────────────────── Enrollment (register / identify / forget) ──────────────────────────── | COMMENT |
| MEDIUM | core/http/react-ui/src/pages/FaceRecognition.jsx | 516 | // ──────────────────────────── Embedding ──────────────────────────── | COMMENT |
| MEDIUM | core/http/react-ui/src/pages/FaceRecognition.jsx | 570 | // ──────────────────────────── Small shared bits ──────────────────────────── | COMMENT |
| MEDIUM | core/http/react-ui/src/pages/VoiceRecognition.jsx | 86 | // ──────────────────────────── Analyze ──────────────────────────── | COMMENT |
| MEDIUM | core/http/react-ui/src/pages/VoiceRecognition.jsx | 196 | // ──────────────────────────── Compare ──────────────────────────── | COMMENT |
| MEDIUM | core/http/react-ui/src/pages/VoiceRecognition.jsx | 288 | // ──────────────────────────── Enrollment ──────────────────────────── | COMMENT |
| MEDIUM | core/http/react-ui/src/pages/VoiceRecognition.jsx | 472 | // ──────────────────────────── Embedding ──────────────────────────── | COMMENT |
| MEDIUM | core/services/facerecognition/registry_test.go | 134 | // ─── fake gRPC backend ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/e2e-backends/backend_test.go | 769 | // ─── face recognition specs ───────────────────────────────────────── | COMMENT |
| MEDIUM | tests/e2e-backends/backend_test.go | 958 | // ─── voice (speaker) recognition specs ────────────────────────────── | COMMENT |
| MEDIUM | tests/e2e-backends/backend_test.go | 1206 | // ─── ds4 layer-split distributed inference (opt-in, hardware-gated) ────────── | COMMENT |
| MEDIUM | backend/go/parakeet-cpp/boundary.go | 23 | // open ───────────► closed | COMMENT |
| MEDIUM | backend/go/parakeet-cpp/boundary.go | 27 | // └──────────────────┘ | COMMENT |
| MEDIUM⚡ | backend/python/tinygrad/backend.py | 57 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backend/python/tinygrad/backend.py | 64 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backend/python/tinygrad/backend.py | 72 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backend/python/tinygrad/backend.py | 74 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/python/tinygrad/backend.py | 158 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/python/tinygrad/backend.py | 160 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/python/diffusers/backend.py | 243 | # ================================================================ | COMMENT |
| MEDIUM | backend/python/diffusers/backend.py | 247 | # ================================================================ | COMMENT |
| MEDIUM | backend/python/diffusers/backend.py | 449 | # ================================================================ | COMMENT |
| MEDIUM | backend/python/diffusers/backend.py | 452 | # ================================================================ | COMMENT |
| MEDIUM | backend/python/common/libbackend.sh | 34 | # ===================================================================== | COMMENT |
| MEDIUM⚡ | backend/python/trl/reward_functions.py | 14 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backend/python/trl/reward_functions.py | 16 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/python/trl/reward_functions.py | 102 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/python/trl/reward_functions.py | 104 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/python/trl/reward_functions.py | 116 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/python/trl/reward_functions.py | 118 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backend/python/trl/reward_functions.py | 178 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backend/python/trl/reward_functions.py | 180 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/python/insightface/engines.py | 61 | # ─── Antispoofer (Silent-Face MiniFASNet) ────────────────────────────── | COMMENT |
| MEDIUM | backend/python/insightface/engines.py | 174 | # ─── InsightFaceEngine ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | backend/python/insightface/engines.py | 375 | # ─── OnnxDirectEngine ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | backend/python/insightface/engines.py | 481 | # ─── helpers ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | .github/backend-matrix.yml | 7 | # -------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .devcontainer-scripts/utils.sh | 3 | # This file contains some really simple functions that are useful when building up customization scripts. | COMMENT |
| MEDIUM | backend/go/sam3-cpp/test.sh | 22 | # Create a test image (4x4 red pixel PNG) using base64 | COMMENT |
| MEDIUM | backend/python/pocket-tts/backend.py | 241 | # Define the signal handler function | COMMENT |
| MEDIUM | backend/python/vibevoice/backend.py | 739 | # Define the signal handler function | COMMENT |
| MEDIUM | backend/python/vibevoice/test.py | 102 | # Create a temporary directory for the output audio file | COMMENT |
| MEDIUM | backend/python/vibevoice/test.py | 142 | # Create a temporary directory for the audio file | COMMENT |
| MEDIUM | backend/python/kitten-tts/backend.py | 92 | # Define the signal handler function | COMMENT |
| MEDIUM | backend/python/rerankers/backend.py | 112 | # Define the signal handler function | COMMENT |
| MEDIUM⚡ | backend/python/nemo/backend.py | 282 | # Create a single segment with the full transcription | COMMENT |
| MEDIUM | backend/python/diffusers/backend.py | 1077 | # Define the signal handler function | COMMENT |
| MEDIUM | backend/python/diffusers/test.py | 343 | # Create a tiny source image for the request's src field | COMMENT |
| MEDIUM | backend/python/whisperx/backend.py | 153 | # Define the signal handler function | COMMENT |
| MEDIUM | backend/python/whisperx/test.py | 71 | # Create a temporary directory for the audio file | COMMENT |
| MEDIUM | backend/python/chatterbox/backend.py | 266 | # Define the signal handler function | COMMENT |
| MEDIUM | backend/python/coqui/backend.py | 113 | # Define the signal handler function | COMMENT |
| MEDIUM | backend/python/moonshine/backend.py | 143 | # Define the signal handler function | COMMENT |
| MEDIUM | backend/python/moonshine/test.py | 71 | # Create a temporary directory for the audio file | COMMENT |
| MEDIUM | backend/python/common/libbackend.sh | 338 | # This function is idempotent, so you can call it as many times as you want and it will | COMMENT |
| MEDIUM | backend/python/neutts/backend.py | 154 | # Define the signal handler function | COMMENT |
| MEDIUM | backend/python/qwen-tts/backend.py | 961 | # Define the signal handler function | COMMENT |
| MEDIUM | backend/python/rfdetr/backend.py | 154 | # Define the signal handler function | COMMENT |
| MEDIUM | backend/python/kokoro/backend.py | 99 | # Define the signal handler function | COMMENT |
| MEDIUM | backend/python/faster-whisper/backend.py | 101 | # Define the signal handler function | COMMENT |
| MEDIUM | backend/python/fish-speech/backend.py | 455 | # Define the signal handler function | COMMENT |
| MEDIUM | backend/python/voxcpm/backend.py | 316 | # Define the signal handler function | COMMENT |
| MEDIUM⚡ | .github/backend-matrix.yml | 4 | # This file is NOT a workflow — it has no top-level 'on:' or 'jobs:'. | COMMENT |
| MEDIUM⚡ | .github/backend-matrix.yml | 8 | # This file is the source of truth for which OS each backend is built and | COMMENT |
| MEDIUM | .github/workflows/gallery-agent.yaml | 162 | # Create a formatted list of added models with URLs | COMMENT |
| MEDIUM | .github/workflows/notify-releases.yaml | 25 | # Define the LocalAI API endpoint | COMMENT |
| MEDIUM | .github/workflows/notify-releases.yaml | 28 | # Create a JSON payload using jq to handle special characters | COMMENT |
| MEDIUM | .github/workflows/disabled/notify-models.yaml | 39 | # Define the LocalAI API endpoint | COMMENT |
| MEDIUM | .github/workflows/disabled/notify-models.yaml | 42 | # Create a JSON payload using jq to handle special characters | COMMENT |
| MEDIUM | .github/workflows/disabled/notify-models.yaml | 121 | # Define the LocalAI API endpoint | COMMENT |
| MEDIUM | .github/workflows/disabled/notify-models.yaml | 124 | # Create a JSON payload using jq to handle special characters | COMMENT |
| MEDIUM | .github/workflows/disabled/comment-pr.yaml | 39 | # Define the LocalAI API endpoint | COMMENT |
| MEDIUM | .github/workflows/disabled/comment-pr.yaml | 42 | # Create a JSON payload using jq to handle special characters | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | core/http/auth/branding_routes_test.go | 83 | user := createTestUser(db, "user@example.com", auth.RoleUser, auth.ProviderGitHub) | CODE |
| LOW⚡ | core/http/auth/branding_routes_test.go | 92 | admin := createTestUser(db, "admin@example.com", auth.RoleAdmin, auth.ProviderGitHub) | CODE |
| LOW⚡ | core/http/auth/branding_routes_test.go | 101 | admin := createTestUser(db, "admin@example.com", auth.RoleAdmin, auth.ProviderGitHub) | CODE |
| LOW | core/http/auth/middleware_test.go | 85 | user = createTestUser(db, "user@example.com", auth.RoleUser, auth.ProviderGitHub) | CODE |
| LOW | core/http/auth/middleware_test.go | 177 | admin := createTestUser(db, "admin@example.com", auth.RoleAdmin, auth.ProviderGitHub) | CODE |
| LOW | core/http/auth/middleware_test.go | 186 | user := createTestUser(db, "user@example.com", auth.RoleUser, auth.ProviderGitHub) | CODE |
| LOW⚡ | core/http/auth/middleware_test.go | 202 | admin := createTestUser(db, "admin@example.com", auth.RoleAdmin, auth.ProviderGitHub) | CODE |
| LOW⚡ | core/http/auth/middleware_test.go | 211 | user := createTestUser(db, "user@example.com", auth.RoleUser, auth.ProviderGitHub) | CODE |
| LOW⚡ | core/http/auth/middleware_test.go | 220 | user := createTestUser(db, "user@example.com", auth.RoleUser, auth.ProviderGitHub) | CODE |
| LOW⚡ | core/http/auth/roles_test.go | 35 | role := auth.AssignRole(db, "admin@example.com", "admin@example.com") | CODE |
| LOW⚡ | core/http/auth/roles_test.go | 42 | role := auth.AssignRole(db, "Admin@Example.COM", "admin@example.com") | CODE |
| LOW⚡ | core/http/auth/roles_test.go | 49 | role := auth.AssignRole(db, "other@example.com", "admin@example.com") | CODE |
| LOW⚡ | core/http/auth/roles_test.go | 69 | user := createTestUser(db, "user@example.com", auth.RoleUser, auth.ProviderGitHub) | CODE |
| LOW⚡ | core/http/auth/roles_test.go | 71 | promoted := auth.MaybePromote(db, user, "admin@example.com") | CODE |
| LOW⚡ | core/http/auth/roles_test.go | 77 | user := createTestUser(db, "admin@example.com", auth.RoleAdmin, auth.ProviderGitHub) | CODE |
| LOW⚡ | core/http/auth/oauth_email_decision_test.go | 13 | Expect(emailForRoleDecision("admin@example.com", true)). | CODE |
| LOW⚡ | core/http/auth/oauth_email_decision_test.go | 14 | To(Equal("admin@example.com")) | CODE |
| LOW⚡ | core/http/auth/oauth_email_decision_test.go | 18 | Expect(emailForRoleDecision("admin@example.com", false)). | CODE |
| LOW | core/http/auth/oauth_email_decision_test.go | 46 | role := AssignRole(db, emailForRoleDecision("admin@example.com", false), "admin@example.com") | CODE |
| LOW | core/http/auth/oauth_email_decision_test.go | 52 | role := AssignRole(db, emailForRoleDecision("admin@example.com", true), "admin@example.com") | CODE |
| LOW | core/http/react-ui/public/locales/it/chat.json | 87 | "placeholder": "Messaggio...", | CODE |
| LOW | core/http/react-ui/public/locales/it/models.json | 31 | "placeholder": "Cerca modelli...", | CODE |
| LOW | core/http/react-ui/public/locales/it/agents.json | 23 | "placeholder": "Cerca agenti...", | CODE |
| LOW | core/http/react-ui/public/locales/it/home.json | 29 | "placeholder": "Messaggio...", | CODE |
| LOW | core/http/react-ui/public/locales/it/skills.json | 25 | "placeholder": "Cerca competenze..." | CODE |
| LOW | core/http/react-ui/public/locales/zh-CN/chat.json | 87 | "placeholder": "消息...", | CODE |
| LOW | core/http/react-ui/public/locales/zh-CN/models.json | 31 | "placeholder": "搜索模型...", | CODE |
| LOW | core/http/react-ui/public/locales/zh-CN/agents.json | 23 | "placeholder": "搜索智能体...", | CODE |
| LOW | core/http/react-ui/public/locales/zh-CN/home.json | 29 | "placeholder": "消息...", | CODE |
| LOW | core/http/react-ui/public/locales/zh-CN/skills.json | 25 | "placeholder": "搜索技能..." | CODE |
| LOW | core/http/react-ui/public/locales/de/chat.json | 87 | "placeholder": "Nachricht...", | CODE |
| LOW | core/http/react-ui/public/locales/de/models.json | 31 | "placeholder": "Modelle suchen...", | CODE |
| LOW | core/http/react-ui/public/locales/de/agents.json | 23 | "placeholder": "Agenten suchen...", | CODE |
| LOW | core/http/react-ui/public/locales/de/home.json | 29 | "placeholder": "Nachricht...", | CODE |
| LOW | core/http/react-ui/public/locales/de/skills.json | 25 | "placeholder": "Fähigkeiten suchen..." | CODE |
| LOW | core/http/react-ui/public/locales/ko/chat.json | 87 | "placeholder": "메시지...", | CODE |
| LOW | core/http/react-ui/public/locales/ko/models.json | 37 | "placeholder": "모델 검색...", | CODE |
| LOW | core/http/react-ui/public/locales/ko/agents.json | 23 | "placeholder": "에이전트 검색...", | CODE |
| LOW | core/http/react-ui/public/locales/ko/home.json | 29 | "placeholder": "메시지...", | CODE |
| LOW | core/http/react-ui/public/locales/ko/skills.json | 25 | "placeholder": "스킬 검색..." | CODE |
| LOW | core/http/react-ui/public/locales/id/chat.json | 87 | "placeholder": "Pesan...", | CODE |
| LOW | core/http/react-ui/public/locales/id/modelEditor.json | 29 | "placeholder": "nama-model-saya", | CODE |
| LOW | core/http/react-ui/public/locales/id/models.json | 38 | "placeholder": "Cari model...", | CODE |
| LOW | core/http/react-ui/public/locales/id/agents.json | 23 | "placeholder": "Cari agen...", | CODE |
| LOW | core/http/react-ui/public/locales/id/home.json | 29 | "placeholder": "Pesan...", | CODE |
| LOW | core/http/react-ui/public/locales/id/skills.json | 25 | "placeholder": "Cari skill..." | CODE |
| LOW | core/http/react-ui/public/locales/es/chat.json | 87 | "placeholder": "Mensaje...", | CODE |
| LOW | core/http/react-ui/public/locales/es/models.json | 31 | "placeholder": "Buscar modelos...", | CODE |
| LOW | core/http/react-ui/public/locales/es/agents.json | 23 | "placeholder": "Buscar agentes...", | CODE |
| LOW | core/http/react-ui/public/locales/es/home.json | 29 | "placeholder": "Mensaje...", | CODE |
| LOW | core/http/react-ui/public/locales/es/skills.json | 25 | "placeholder": "Buscar habilidades..." | CODE |
| LOW | core/http/react-ui/public/locales/en/chat.json | 88 | "placeholder": "Message...", | CODE |
| LOW | core/http/react-ui/public/locales/en/modelEditor.json | 29 | "placeholder": "my-model-name", | CODE |
| LOW | core/http/react-ui/public/locales/en/models.json | 50 | "placeholder": "Search models...", | CODE |
| LOW | core/http/react-ui/public/locales/en/agents.json | 23 | "placeholder": "Search agents...", | CODE |
| LOW | core/http/react-ui/public/locales/en/media.json | 120 | "placeholder": "Search voices, languages, or transcripts" | CODE |
| LOW | core/http/react-ui/public/locales/en/home.json | 29 | "placeholder": "Message...", | CODE |
| LOW | core/http/react-ui/public/locales/en/skills.json | 25 | "placeholder": "Search skills..." | CODE |
| LOW | core/http/static/assets/highlightjs.js | 316 | }),re=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code", | CODE |
| LOW | core/http/static/assets/purify.js | 2 | !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define | CODE |
| 10 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_invariant_backend.py | 15 | CODE | |
| LOW | backend/python/liquid-audio/backend.py | 118 | CODE | |
| LOW | backend/python/liquid-audio/backend.py | 244 | CODE | |
| LOW | backend/python/liquid-audio/backend.py | 385 | CODE | |
| LOW | backend/python/liquid-audio/backend.py | 521 | CODE | |
| LOW | backend/python/pocket-tts/backend.py | 54 | CODE | |
| LOW | backend/python/pocket-tts/backend.py | 154 | CODE | |
| LOW | backend/python/ace-step/backend.py | 82 | CODE | |
| LOW | backend/python/ace-step/backend.py | 102 | CODE | |
| LOW | backend/python/ace-step/backend.py | 308 | CODE | |
| LOW | backend/python/vibevoice/backend.py | 56 | CODE | |
| LOW | backend/python/vibevoice/backend.py | 475 | CODE | |
| LOW | backend/python/vibevoice/backend.py | 584 | CODE | |
| LOW | backend/python/nemo/backend.py | 47 | CODE | |
| LOW | backend/python/nemo/backend.py | 216 | CODE | |
| LOW | backend/python/diffusers/backend.py | 170 | CODE | |
| LOW | backend/python/diffusers/backend.py | 497 | CODE | |
| LOW | backend/python/diffusers/backend.py | 664 | CODE | |
| LOW | backend/python/diffusers/backend.py | 877 | CODE | |
| LOW | backend/python/diffusers/diffusers_dynamic_loader.py | 124 | CODE | |
| LOW | backend/python/diffusers/diffusers_dynamic_loader.py | 313 | CODE | |
| LOW | backend/python/mlx-audio/backend.py | 67 | CODE | |
| LOW | backend/python/mlx-audio/backend.py | 303 | CODE | |
| LOW | backend/python/mlx-audio/backend.py | 382 | CODE | |
| LOW | backend/python/llama-cpp-quantization/backend.py | 362 | CODE | |
| LOW | backend/python/chatterbox/backend.py | 135 | CODE | |
| LOW | backend/python/chatterbox/backend.py | 196 | CODE | |
| LOW | backend/python/vllm/backend.py | 142 | CODE | |
| LOW | backend/python/vllm/backend.py | 379 | CODE | |
| LOW | backend/python/vllm/backend.py | 511 | CODE | |
| LOW | backend/python/speaker-recognition/engines.py | 117 | CODE | |
| LOW | backend/python/common/python_utils.py | 10 | CODE | |
| LOW | backend/python/common/python_utils.py | 40 | CODE | |
| LOW | backend/python/transformers/backend.py | 63 | CODE | |
| LOW | backend/python/transformers/backend.py | 478 | CODE | |
| LOW | backend/python/transformers/backend.py | 544 | CODE | |
| LOW | backend/python/vllm-omni/backend.py | 73 | CODE | |
| LOW | backend/python/vllm-omni/backend.py | 352 | CODE | |
| LOW | backend/python/vllm-omni/backend.py | 476 | CODE | |
| LOW | backend/python/vllm-omni/backend.py | 660 | CODE | |
| LOW | backend/python/mlx-distributed/backend.py | 619 | CODE | |
| LOW | backend/python/mlx-distributed/backend.py | 399 | CODE | |
| LOW | backend/python/mlx-distributed/mlx_cache.py | 76 | CODE | |
| LOW | backend/python/mlx-distributed/mlx_cache.py | 169 | CODE | |
| LOW | backend/python/neutts/backend.py | 50 | CODE | |
| LOW | backend/python/mlx-vlm/backend.py | 58 | CODE | |
| LOW | backend/python/mlx-vlm/backend.py | 262 | CODE | |
| LOW | backend/python/trl/backend.py | 248 | CODE | |
| LOW | backend/python/trl/backend.py | 644 | CODE | |
| LOW | backend/python/trl/backend.py | 691 | CODE | |
| LOW | backend/python/trl/reward_functions.py | 182 | CODE | |
| LOW | backend/python/sglang/backend.py | 138 | CODE | |
| LOW | backend/python/sglang/backend.py | 391 | CODE | |
| LOW | backend/python/qwen-asr/backend.py | 47 | CODE | |
| LOW | backend/python/qwen-asr/backend.py | 159 | CODE | |
| LOW | backend/python/qwen-tts/backend.py | 85 | CODE | |
| LOW | backend/python/qwen-tts/backend.py | 477 | CODE | |
| LOW | backend/python/qwen-tts/backend.py | 685 | CODE | |
| LOW | backend/python/mlx/backend.py | 252 | CODE | |
| LOW | backend/python/mlx/test_mlx_cache.py | 384 | CODE | |
| 15 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/python/vibevoice/backend.py | 13 | CODE | |
| LOW | backend/python/kitten-tts/backend.py | 14 | CODE | |
| LOW | backend/python/tinygrad/backend.py | 28 | CODE | |
| LOW | backend/python/tinygrad/backend.py | 52 | CODE | |
| LOW | backend/python/tinygrad/tool_parsers/mistral.py | 11 | CODE | |
| LOW | backend/python/tinygrad/tool_parsers/__init__.py | 7 | CODE | |
| LOW | backend/python/tinygrad/tool_parsers/__init__.py | 9 | CODE | |
| LOW | backend/python/tinygrad/tool_parsers/__init__.py | 9 | CODE | |
| LOW | backend/python/tinygrad/tool_parsers/__init__.py | 9 | CODE | |
| LOW | backend/python/tinygrad/tool_parsers/hermes.py | 17 | CODE | |
| LOW | backend/python/tinygrad/tool_parsers/llama3_json.py | 15 | CODE | |
| LOW | backend/python/tinygrad/tool_parsers/llama3_json.py | 19 | CODE | |
| LOW | backend/python/tinygrad/tool_parsers/qwen3_xml.py | 21 | CODE | |
| LOW | backend/python/tinygrad/tool_parsers/base.py | 2 | CODE | |
| LOW | backend/python/tinygrad/tool_parsers/base.py | 4 | CODE | |
| LOW | backend/python/tinygrad/tool_parsers/base.py | 73 | CODE | |
| LOW | backend/python/tinygrad/tool_parsers/base.py | 73 | CODE | |
| LOW | backend/python/tinygrad/tool_parsers/base.py | 73 | CODE | |
| LOW | backend/python/tinygrad/tool_parsers/base.py | 73 | CODE | |
| LOW | backend/python/diffusers/backend.py | 31 | CODE | |
| LOW | backend/python/diffusers/backend.py | 31 | CODE | |
| LOW | backend/python/diffusers/backend.py | 39 | CODE | |
| LOW | backend/python/diffusers/test.py | 7 | CODE | |
| LOW | backend/python/diffusers/diffusers_dynamic_loader.py | 33 | CODE | |
| LOW | backend/python/mlx-audio/backend.py | 8 | CODE | |
| LOW | backend/python/mlx-audio/backend.py | 9 | CODE | |
| LOW | backend/python/mlx-audio/backend.py | 10 | CODE | |
| LOW | backend/python/mlx-audio/backend.py | 11 | CODE | |
| LOW | backend/python/mlx-audio/backend.py | 12 | CODE | |
| LOW | backend/python/vllm/backend.py | 14 | CODE | |
| LOW | backend/python/vllm/backend.py | 33 | CODE | |
| LOW | backend/python/speaker-recognition/backend.py | 9 | CODE | |
| LOW | backend/python/speaker-recognition/engines.py | 20 | CODE | |
| LOW | backend/python/speaker-recognition/test.py | 10 | CODE | |
| LOW | backend/python/common/vllm_utils.py | 9 | CODE | |
| LOW | backend/python/common/vllm_utils.py | 9 | CODE | |
| LOW | backend/python/common/template/backend.py | 2 | CODE | |
| LOW | backend/python/common/template/backend.py | 3 | CODE | |
| LOW | backend/python/common/template/backend.py | 4 | CODE | |
| LOW | backend/python/transformers/backend.py | 14 | CODE | |
| LOW | backend/python/mlx-distributed/coordinator.py | 7 | CODE | |
| LOW | backend/python/mlx-distributed/coordinator.py | 8 | CODE | |
| LOW | backend/python/mlx-distributed/backend.py | 23 | CODE | |
| LOW | backend/python/mlx-vlm/backend.py | 11 | CODE | |
| LOW | backend/python/trl/backend.py | 251 | CODE | |
| LOW | backend/python/sglang/backend.py | 30 | CODE | |
| LOW | backend/python/sglang/backend.py | 31 | CODE | |
| LOW | backend/python/sglang/backend.py | 32 | CODE | |
| LOW | backend/python/sglang/backend.py | 34 | CODE | |
| LOW | backend/python/qwen-tts/backend.py | 12 | CODE | |
| LOW | backend/python/qwen-tts/backend.py | 14 | CODE | |
| LOW | backend/python/qwen-tts/test.py | 10 | CODE | |
| LOW | backend/python/rfdetr/backend.py | 21 | CODE | |
| LOW | backend/python/rfdetr/backend.py | 23 | CODE | |
| LOW | backend/python/insightface/backend.py | 15 | CODE | |
| LOW | backend/python/insightface/engines.py | 19 | CODE | |
| LOW | backend/python/insightface/test.py | 10 | CODE | |
| LOW | backend/python/insightface/smoke.py | 17 | CODE | |
| LOW | backend/python/mlx/test_mlx_cache.py | 17 | CODE | |
| LOW | backend/python/faster-qwen3-tts/test.py | 8 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/python/vibevoice/backend.py | 104 | # Check if ASR mode is enabled | COMMENT |
| LOW | backend/python/vibevoice/backend.py | 194 | # Check if the directory exists | COMMENT |
| LOW | backend/python/vibevoice/test.py | 15 | # Check if we should skip ASR tests (they require large models ~14B parameters total) | COMMENT |
| LOW | backend/python/vibevoice/test.py | 188 | # Check if segments is iterable (has length) | COMMENT |
| LOW | backend/python/diffusers/backend.py | 348 | # Check if loading from single file (GGUF) | COMMENT |
| LOW | backend/python/diffusers/backend.py | 401 | # Check if loading from single file (GGUF) | COMMENT |
| LOW | backend/python/diffusers/backend.py | 558 | # Check if ModelFile exists | COMMENT |
| LOW | backend/python/diffusers/backend.py | 629 | # Check if its a local file and not a directory ( we load lora differently for a safetensor file ) | COMMENT |
| LOW | backend/python/diffusers/diffusers_dynamic_loader.py | 485 | # Check if the class has from_single_file method | COMMENT |
| LOW⚡ | backend/python/mlx-audio/backend.py | 264 | # Check if model supports language codes (primarily Kokoro) | COMMENT |
| LOW | backend/python/mlx-audio/backend.py | 133 | # Check if model is loaded | COMMENT |
| LOW | backend/python/mlx-audio/backend.py | 156 | # Check if model supports language codes (primarily Kokoro) | COMMENT |
| LOW | backend/python/mlx-audio/backend.py | 235 | # Check if model is loaded | COMMENT |
| LOW | backend/python/llama-cpp-quantization/backend.py | 377 | # Check if the thread is still alive | COMMENT |
| LOW | backend/python/llama-cpp-quantization/backend.py | 384 | # Check if client disconnected | COMMENT |
| LOW | backend/python/chatterbox/backend.py | 67 | # Check if adding this word would exceed the limit | COMMENT |
| LOW | backend/python/chatterbox/backend.py | 220 | # Check if text exceeds 250 characters | COMMENT |
| LOW | backend/python/vllm/backend.py | 322 | # Check if we have one result at least | COMMENT |
| LOW | backend/python/moonshine/test.py | 111 | # Check if segments is iterable (has length) | COMMENT |
| LOW⚡ | backend/python/qwen-tts/backend.py | 471 | # Check if it looks like a file path (contains / or \ and ends with common text file extensions) | COMMENT |
| LOW | backend/python/qwen-tts/backend.py | 282 | # Check if it's a missing feature extractor/tokenizer error | COMMENT |
| LOW | backend/python/qwen-tts/backend.py | 501 | # Check if file exists and is readable | COMMENT |
| LOW | backend/python/qwen-tts/backend.py | 687 | # Check if dst is provided | COMMENT |
| LOW | backend/python/qwen-tts/backend.py | 748 | # Check if multi-voice mode is active (voices dict is populated) | COMMENT |
| LOW | backend/python/qwen-tts/backend.py | 816 | # Check if we should use cached prompt | COMMENT |
| LOW | backend/python/fish-speech/test.py | 95 | # Check if process died | COMMENT |
| LOW | .github/check_and_update.py | 32 | # Check if 'hasUnsafeFile' exists in the response | COMMENT |
| LOW⚡ | .github/check_and_update.py | 48 | # Check if the repo is flagged as dangerous by HF | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | core/gallery/importers/bark.go | 25 | // DiscoverModelConfig leaves HuggingFace nil. To keep detection robust, | COMMENT |
| MEDIUM | core/http/react-ui/src/pages/AgentChat.jsx | 116 | // Maps backend messageID → conversationId for robust SSE routing across navigations. | COMMENT |
| MEDIUM | tests/e2e/distributed/prefix_cache_routing_test.go | 182 | // provider decision directly is the robust check. | COMMENT |
| LOW | backend/python/llama-cpp-quantization/backend.py | 203 | # If the model_path is already a GGUF file, just use it as-is | COMMENT |
| MEDIUM | backend/python/speaker-recognition/engines.py | 71 | # checkpoint (Audeering wav2vec2-large-robust-24-ft-age-gender) uses a | COMMENT |
| MEDIUM | backend/cpp/privacy-filter/package.sh | 23 | # grpc++/protobuf/absl stack) by walking ldd — robust to whichever of those are | COMMENT |
| MEDIUM | backend/cpp/ds4/dsml_parser.cpp | 333 | // Definitely a literal '<' now (no chance of more bytes arriving). | COMMENT |
| MEDIUM | .github/workflows/test-extra.yml | 599 | # harness. | COMMENT |
| MEDIUM | .github/workflows/test-extra.yml | 617 | # End-to-end transcription via the e2e-backends gRPC harness against | COMMENT |
| MEDIUM | .github/workflows/test-extra.yml | 659 | # TTSStream (PCM chunks) on the e2e-backends harness. | COMMENT |
| MEDIUM | .github/workflows/test-extra.yml | 980 | # End-to-end TTS via the e2e-backends gRPC harness. Builds the | COMMENT |
| MEDIUM | .github/workflows/test-extra.yml | 1000 | # End-to-end transcription via the e2e-backends gRPC harness. The | COMMENT |
| MEDIUM | .github/workflows/test-extra.yml | 1039 | # End-to-end audio transform via the e2e-backends gRPC harness. The | COMMENT |
| MEDIUM | .github/workflows/tests-pii-ner-e2e.yml | 9 | # This drives the container-level harness (tests/e2e-backends) via | COMMENT |
| MEDIUM | .github/gallery-agent/testing.go | 220 | fmt.Sprintf("# %s Language Model\n\nDeveloped by %s, this model represents state-of-the-art performance in natural lan | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | README.md | 193 | - **October 2025**: [Model Context Protocol (MCP)](https://localai.io/docs/features/mcp/) support for agentic capabiliti | CODE |
| MEDIUM | core/http/endpoints/openai/realtime.go | 1944 | // maxAssistantToolTurns caps the server-side agentic loop. Mirrors the | COMMENT |
| MEDIUM | core/http/endpoints/openai/realtime.go | 1961 | // the whole agentic tool-turn recursion: a single id, the output items as they | COMMENT |
| MEDIUM | core/http/endpoints/openai/realtime.go | 2207 | // every turn (including agentic recursion) shares this id. | COMMENT |
| MEDIUM | core/http/endpoints/openai/realtime.go | 2651 | // whole turn (including the agentic recursion below) completes. | COMMENT |
| MEDIUM | core/http/endpoints/openai/realtime.go | 2654 | // so the model can speak the result. Mirrors the chat-side agentic loop | COMMENT |
| MEDIUM | core/http/endpoints/openai/inference_test.go | 411 | // Truncation labeling for agentic clients (cogito): a reasoning model | COMMENT |
| MEDIUM | core/http/react-ui/src/hooks/useChat.js | 482 | // Regular SSE streaming with client-side agentic loop support | COMMENT |
| MEDIUM | core/http/react-ui/src/hooks/useChat.js | 499 | let fullToolCalls = [] // Tool calls with id for agentic loop | CODE |
| MEDIUM | core/http/react-ui/src/hooks/useChat.js | 654 | // Client-side agentic loop: check for client tool calls | COMMENT |
| MEDIUM | core/http/react-ui/src/pages/Talk.jsx | 211 | // Mirrors the chat-page agentic loop: collect args from the model's | COMMENT |
| MEDIUM | core/services/agentpool/agent_pool.go | 62 | // to provide agentic capabilities integrated directly into LocalAI. | COMMENT |
| MEDIUM | tests/e2e-aio/models/embeddings.yaml | 7 | # sized up to the context window (core/backend/options.go EffectiveBatchSize) so | COMMENT |
| MEDIUM | backend/python/tinygrad/backend.py | 629 | # Clamp to context window — truncate long inputs rather than blow up. | COMMENT |
| MEDIUM | docs/content/features/middleware.md | 531 | embedding_model: nomic-embed-text-v1.5 # any loaded embedding model | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | core/gallery/upgrade.go | 286 | // Step 1: Download the new backend into the tmp directory | COMMENT |
| LOW⚡ | core/gallery/upgrade.go | 304 | // Step 2: Validate — check that run.sh exists in the new content | COMMENT |
| LOW⚡ | core/gallery/upgrade.go | 311 | // Step 3: Atomic swap — rename current to backup, then tmp to current | COMMENT |
| LOW | core/gallery/upgrade.go | 327 | // Step 4: Write updated metadata, preserving alias from old metadata | COMMENT |
| LOW⚡ | core/gallery/upgrade.go | 360 | // Step 5: Re-register backends so the model loader picks up any changes | COMMENT |
| LOW⚡ | core/gallery/upgrade.go | 365 | // Step 6: Remove backup | COMMENT |
| LOW | core/services/nodes/router_test.go | 795 | // Step 1: cached model found on old node | COMMENT |
| LOW | core/services/nodes/router.go | 353 | // Step 1: Find and atomically lock a node with this model loaded | COMMENT |
| LOW | core/services/nodes/router.go | 399 | // Step 2: Model not loaded — schedule loading with distributed lock to prevent duplicates. | COMMENT |
| LOW | .agents/api-endpoints-and-auth.md | 19 | ### Step 1: Create the handler | COMMENT |
| LOW | .agents/api-endpoints-and-auth.md | 36 | ### Step 2: Register routes | COMMENT |
| LOW | .agents/api-endpoints-and-auth.md | 48 | ### Step 3: Apply the right middleware | COMMENT |
| LOW | backend/python/llama-cpp-quantization/backend.py | 101 | # Step 1: Download / resolve model | COMMENT |
| LOW | backend/python/llama-cpp-quantization/backend.py | 112 | # Step 2: Convert to f16 GGUF | COMMENT |
| LOW | backend/python/llama-cpp-quantization/backend.py | 123 | # Step 3: Quantize | COMMENT |
| LOW | backend/python/trl/backend.py | 749 | # Step 1: Merge LoRA into base model | COMMENT |
| LOW | backend/python/trl/backend.py | 798 | # Step 2: Convert to GGUF using convert_hf_to_gguf.py | COMMENT |
| LOW | docs/content/getting-started/models.md | 166 | ### Step 1: Download a Model | COMMENT |
| LOW | docs/content/getting-started/models.md | 181 | ### Step 2: Create a Configuration File (Optional) | COMMENT |
| LOW | docs/content/getting-started/models.md | 198 | ### Step 3: Run LocalAI | COMMENT |
| LOW⚡ | pkg/functions/parse_test.go | 191 | // Step 1: Replace single quotes around keys and values with double quotes | COMMENT |
| LOW⚡ | pkg/functions/parse_test.go | 193 | // Step 2: Replace double quotes inside values with placeholders | COMMENT |
| LOW⚡ | pkg/functions/parse_test.go | 224 | // Step 1: Replace single quotes around keys and values with double quotes | COMMENT |
| LOW⚡ | pkg/functions/parse_test.go | 226 | // Step 2: Replace double quotes inside values with placeholders | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | core/gallery/upgrade.go | 286 | // Step 1: Download the new backend into the tmp directory | COMMENT |
| LOW⚡ | core/gallery/upgrade.go | 304 | // Step 2: Validate — check that run.sh exists in the new content | COMMENT |
| LOW⚡ | core/gallery/upgrade.go | 311 | // Step 3: Atomic swap — rename current to backup, then tmp to current | COMMENT |
| LOW | core/gallery/upgrade.go | 327 | // Step 4: Write updated metadata, preserving alias from old metadata | COMMENT |
| LOW⚡ | core/gallery/upgrade.go | 360 | // Step 5: Re-register backends so the model loader picks up any changes | COMMENT |
| LOW⚡ | core/gallery/upgrade.go | 365 | // Step 6: Remove backup | COMMENT |
| LOW | core/gallery/backends.go | 507 | // if doesn't exist, it might be an alias, so we need to check if we have a matching alias in | COMMENT |
| LOW | core/application/startup.go | 520 | // Since env vars are applied via AppOptions in run.go, we need to check if they're set. | COMMENT |
| LOW | core/services/nodes/router_test.go | 795 | // Step 1: cached model found on old node | COMMENT |
| LOW | core/services/nodes/router.go | 353 | // Step 1: Find and atomically lock a node with this model loaded | COMMENT |
| LOW | core/services/nodes/router.go | 399 | // Step 2: Model not loaded — schedule loading with distributed lock to prevent duplicates. | COMMENT |
| LOW | backend/python/llama-cpp-quantization/backend.py | 101 | # Step 1: Download / resolve model | COMMENT |
| LOW | backend/python/llama-cpp-quantization/backend.py | 112 | # Step 2: Convert to f16 GGUF | COMMENT |
| LOW | backend/python/llama-cpp-quantization/backend.py | 123 | # Step 3: Quantize | COMMENT |
| LOW | backend/python/trl/backend.py | 749 | # Step 1: Merge LoRA into base model | COMMENT |
| LOW | backend/python/trl/backend.py | 798 | # Step 2: Convert to GGUF using convert_hf_to_gguf.py | COMMENT |
| LOW⚡ | pkg/functions/parse_test.go | 191 | // Step 1: Replace single quotes around keys and values with double quotes | COMMENT |
| LOW⚡ | pkg/functions/parse_test.go | 193 | // Step 2: Replace double quotes inside values with placeholders | COMMENT |
| LOW⚡ | pkg/functions/parse_test.go | 224 | // Step 1: Replace single quotes around keys and values with double quotes | COMMENT |
| LOW⚡ | pkg/functions/parse_test.go | 226 | // Step 2: Replace double quotes inside values with placeholders | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | core/http/static/assets/marked.js | 6 | !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?def | CODE |
| CRITICAL | core/http/static/assets/codemirror.min.js | 1 | !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define | CODE |
| CRITICAL | backend/cpp/llama-cpp/grpc-server.cpp | 1484 | if (params.speculative.has_dft() && !params.speculative.draft.mparams.path.empty()) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | core/http/views/agent-task-details.html | 373 | -H "Authorization: Bearer YOUR_API_KEY" \ | CODE |
| HIGH | core/http/views/agent-task-details.html | 394 | -H "Authorization: Bearer YOUR_API_KEY" \ | CODE |
| HIGH | core/http/views/agent-task-details.html | 417 | -H "Authorization: Bearer YOUR_API_KEY" \ | CODE |
| HIGH | core/http/views/agent-task-details.html | 443 | -H "Authorization: Bearer YOUR_API_KEY"</code></pre> | CODE |
| HIGH | docs/content/features/mcp.md | 419 | api_key="your-api-key" | CODE |
| HIGH | docs/content/getting-started/troubleshooting.md | 275 | -H "Authorization: Bearer YOUR_API_KEY" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | backend/python/diffusers/diffusers_dynamic_loader.py | 128 | Discover all subclasses of a given base class from diffusers. This function provides a generic way to discover | STRING |
| HIGH | backend/python/diffusers/diffusers_dynamic_loader.py | 318 | Resolve a pipeline class from class_name, task, or model_id. Priority: 1. If class_name is provided, look | STRING |
| HIGH | backend/python/diffusers/diffusers_dynamic_loader.py | 428 | Load a diffusers pipeline dynamically. This function resolves the appropriate pipeline class based on the prov | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | backend/python/mlx-distributed/backend.py | 604 | CODE | |
| MEDIUM | backend/python/mlx-distributed/backend.py | 605 | CODE | |
| MEDIUM | backend/python/mlx-distributed/backend.py | 609 | CODE | |
| MEDIUM | backend/python/mlx-distributed/backend.py | 614 | CODE | |
| MEDIUM | backend/python/mlx-distributed/backend.py | 616 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docker-compose.distributed.yaml | 9 | # Usage: | COMMENT |
| LOW | scripts/nats-auth-setup.sh | 6 | # Usage: | COMMENT |
| LOW | scripts/install-fizzbee.sh | 7 | # Usage: | COMMENT |
| LOW | scripts/model_gallery_info.py | 53 | # Example usage | STRING |
| LOW | pkg/model/watchdog.go | 68 | // Example usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | docs/content/reference/architecture.md | 17 | As much as typical open source projects starts, I, [mudler](https://github.com/mudler/), was fiddling around with [llama | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | pkg/huggingface-api/client_test.go | 693 | mockReadmeContent := "# Test Model\n\nThis is a test model for demonstration purposes." | CODE |
| MEDIUM | pkg/huggingface-api/client_test.go | 712 | Expect(content).To(Equal("# Test Model\n\nThis is a test model for demonstration purposes.")) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/python/tinygrad/tool_parsers/__init__.py | 11 | __all__ = ["ToolCall", "ToolParser", "resolve_parser"] | CODE |
| LOW | backend/python/common/vllm_utils.py | 11 | __all__ = ["parse_options", "messages_to_dicts", "setup_parsers"] | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/python/vllm/backend.py | 307 | CODE | |
| LOW | backend/python/transformers/backend.py | 468 | CODE | |
| LOW | backend/python/sglang/backend.py | 243 | CODE |