Fast, flexible LLM inference
This report presents the forensic synthetic code analysis of EricLBuehler/mistral.rs, a Rust project with 7,475 GitHub stars. SynthScan v2.0 examined 385,607 lines of code across 1279 source files, recording 734 pattern matches distributed across 14 syntactic categories. The overall adjusted score of 3.3 places this repository in the Likely human-written 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 734 distinct pattern matches across 14 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 |
|---|---|---|---|---|
| LOW | mistralrs-macros/README.md | 1 | # mistralrs-macros | COMMENT |
| LOW | mistralrs-macros/src/lib.rs | 1 | //! Proc macros for ergonomic tool definition in mistral.rs | COMMENT |
| LOW | mistralrs-macros/src/lib.rs | 21 | //! #[description = "The city name"] | COMMENT |
| LOW | mistralrs-macros/src/lib.rs | 81 | } | COMMENT |
| LOW | mistralrs-macros/src/lib.rs | 261 | .collect(); | COMMENT |
| LOW | mistralrs-macros/src/lib.rs | 321 | COMMENT | |
| LOW | mistralrs-mcp/src/client.rs | 161 | COMMENT | |
| LOW | mistralrs-mcp/src/client.rs | 181 | /// # Example | COMMENT |
| LOW | mistralrs-mcp/src/client.rs | 241 | COMMENT | |
| LOW | mistralrs-mcp/src/client.rs | 261 | /// - A callback function that executes the tool with timeout and concurrency controls | COMMENT |
| LOW | mistralrs-mcp/src/client.rs | 281 | &self.tool_callbacks_with_tools | COMMENT |
| LOW | mistralrs-mcp/src/client.rs | 301 | /// # Example | COMMENT |
| LOW | mistralrs-mcp/src/client.rs | 321 | COMMENT | |
| LOW | mistralrs-mcp/src/client.rs | 661 | ); | COMMENT |
| LOW | mistralrs-mcp/src/client.rs | 681 | /// let mut client = McpClient::new(config); | COMMENT |
| LOW | mistralrs-mcp/src/client.rs | 701 | self.tool_callbacks_with_tools.clear(); | COMMENT |
| LOW | mistralrs-mcp/src/client.rs | 741 | /// | COMMENT |
| LOW | mistralrs-mcp/src/client.rs | 781 | } | COMMENT |
| LOW | mistralrs-mcp/src/client.rs | 801 | /// # } | COMMENT |
| LOW | mistralrs-mcp/src/client.rs | 821 | /// // Add a new server dynamically | COMMENT |
| LOW | mistralrs-mcp/src/client.rs | 861 | /// Closes the connection and removes the server from the configuration. | COMMENT |
| LOW | mistralrs-mcp/src/client.rs | 901 | /// ```rust,no_run | COMMENT |
| LOW | mistralrs-mcp/src/client.rs | 921 | } | COMMENT |
| LOW | mistralrs-mcp/src/client.rs | 941 | /// ``` | COMMENT |
| LOW | mistralrs-mcp/src/client.rs | 961 | /// # } | COMMENT |
| LOW | mistralrs-mcp/src/client.rs | 1021 | COMMENT | |
| LOW | mistralrs-mcp/src/client.rs | 1041 | // ==================== Status / Convenience Methods ==================== | COMMENT |
| LOW | mistralrs-mcp/src/client.rs | 1061 | COMMENT | |
| LOW | mistralrs-mcp/src/client.rs | 1081 | } | COMMENT |
| LOW | mistralrs-mcp/src/client.rs | 1121 | /// Returns a vector of (server_id, resource) tuples. | COMMENT |
| LOW | mistralrs-mcp/src/transport.rs | 61 | COMMENT | |
| LOW | mistralrs-mcp/src/transport.rs | 81 | /// - **Error Handling**: Comprehensive JSON-RPC and HTTP error handling | COMMENT |
| LOW | mistralrs-mcp/src/transport.rs | 101 | /// headers.insert("X-API-Version".to_string(), "v1".to_string()); | COMMENT |
| LOW | mistralrs-mcp/src/transport.rs | 121 | /// - Standard JSON responses | COMMENT |
| LOW | mistralrs-mcp/src/transport.rs | 141 | /// # Returns | COMMENT |
| LOW | mistralrs-mcp/src/transport.rs | 161 | /// None | COMMENT |
| LOW | mistralrs-mcp/src/transport.rs | 201 | /// * `sse_text` - Raw SSE response text from the server | COMMENT |
| LOW | mistralrs-mcp/src/transport.rs | 261 | /// # Arguments | COMMENT |
| LOW | mistralrs-mcp/src/transport.rs | 281 | /// use mistralrs_mcp::transport::{HttpTransport, McpTransport}; | COMMENT |
| LOW | mistralrs-mcp/src/transport.rs | 341 | /// | COMMENT |
| LOW | mistralrs-mcp/src/transport.rs | 401 | /// - **Process Isolation**: Each MCP server runs in its own process for security | COMMENT |
| LOW | mistralrs-mcp/src/transport.rs | 421 | /// | COMMENT |
| LOW | mistralrs-mcp/src/transport.rs | 441 | /// Some(env) // Environment variables | COMMENT |
| LOW | mistralrs-mcp/src/transport.rs | 461 | /// | COMMENT |
| LOW | mistralrs-mcp/src/transport.rs | 481 | /// # Arguments | COMMENT |
| LOW | mistralrs-mcp/src/transport.rs | 501 | /// | COMMENT |
| LOW | mistralrs-mcp/src/transport.rs | 581 | /// a line-delimited JSON request to the process stdin and reads the | COMMENT |
| LOW | mistralrs-mcp/src/transport.rs | 601 | /// | COMMENT |
| LOW | mistralrs-mcp/src/transport.rs | 661 | /// | COMMENT |
| LOW | mistralrs-mcp/src/transport.rs | 681 | /// | COMMENT |
| LOW | mistralrs-mcp/src/transport.rs | 721 | /// - **Bearer Token Support**: Authentication via Authorization header during handshake | COMMENT |
| LOW | mistralrs-mcp/src/transport.rs | 741 | /// let mut headers = HashMap::new(); | COMMENT |
| LOW | mistralrs-mcp/src/transport.rs | 781 | /// # Returns | COMMENT |
| LOW | mistralrs-mcp/src/transport.rs | 801 | /// headers.insert("Authorization".to_string(), "Bearer token123".to_string()); | COMMENT |
| LOW | mistralrs-mcp/src/transport.rs | 861 | /// - Unique request ID generation for response correlation | COMMENT |
| LOW | mistralrs-mcp/src/transport.rs | 881 | /// | COMMENT |
| LOW | mistralrs-mcp/src/transport.rs | 961 | /// Sends a WebSocket ping frame to test connection health | COMMENT |
| LOW | mistralrs-mcp/src/transport.rs | 981 | Ok(()) | COMMENT |
| LOW | mistralrs-mcp/src/lib.rs | 1 | //! Model Context Protocol (MCP) Client Implementation | COMMENT |
| LOW | mistralrs-mcp/src/lib.rs | 21 | //! | COMMENT |
| 306 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/src/content/docs/examples/python/qwen3.md | 42 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | docs/src/content/docs/examples/python/qwen3.md | 44 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | docs/src/content/docs/examples/python/qwen3.md | 67 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | docs/src/content/docs/examples/python/qwen3.md | 69 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | docs/src/content/docs/examples/python/qwen3.md | 94 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | docs/src/content/docs/examples/python/qwen3.md | 96 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | docs/src/content/docs/examples/server/smollm3.md | 59 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | docs/src/content/docs/examples/server/smollm3.md | 61 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | docs/src/content/docs/examples/server/smollm3.md | 82 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | docs/src/content/docs/examples/server/smollm3.md | 84 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | docs/src/content/docs/examples/server/smollm3.md | 109 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | docs/src/content/docs/examples/server/smollm3.md | 111 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | docs/src/content/docs/examples/server/qwen3.md | 59 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | docs/src/content/docs/examples/server/qwen3.md | 61 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | docs/src/content/docs/examples/server/qwen3.md | 82 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | docs/src/content/docs/examples/server/qwen3.md | 84 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | docs/src/content/docs/examples/server/qwen3.md | 107 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | docs/src/content/docs/examples/server/qwen3.md | 109 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | mistralrs-quant/src/utils/ops.rs | 817 | // ────────────────────────────── ArgSort / Sort ──────────────────────────────── | COMMENT |
| MEDIUM | mistralrs-quant/src/utils/ops.rs | 3486 | // ─────────────────────────────── Sort / ArgSort ──────────────────────────────── | COMMENT |
| MEDIUM | mistralrs-quant/src/utils/ops.rs | 3526 | // ─────────────────────────────── 2 048-element vector ──────────────────────────────── | COMMENT |
| MEDIUM | examples/python/qwen3.py | 28 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | examples/python/qwen3.py | 30 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | examples/python/qwen3.py | 53 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | examples/python/qwen3.py | 55 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | examples/python/qwen3.py | 80 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | examples/python/qwen3.py | 82 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | examples/server/qwen3.py | 45 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | examples/server/qwen3.py | 47 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | examples/server/qwen3.py | 68 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | examples/server/qwen3.py | 70 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | examples/server/qwen3.py | 93 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | examples/server/qwen3.py | 95 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | examples/server/smollm3.py | 45 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | examples/server/smollm3.py | 47 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | examples/server/smollm3.py | 68 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | examples/server/smollm3.py | 70 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | examples/server/smollm3.py | 95 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | examples/server/smollm3.py | 97 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | scripts/upload_wheels.py | 23 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/upload_wheels.py | 25 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/upload_wheels.py | 51 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/upload_wheels.py | 53 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/upload_wheels.py | 106 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/upload_wheels.py | 108 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/upload_wheels.py | 184 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/upload_wheels.py | 186 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/build_wheels.py | 28 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/build_wheels.py | 30 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/build_wheels.py | 76 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/build_wheels.py | 78 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/build_wheels.py | 203 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/build_wheels.py | 205 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/build_wheels.py | 252 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/build_wheels.py | 254 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/build_wheels.py | 278 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/build_wheels.py | 280 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/build_wheels.py | 423 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/build_wheels.py | 425 | # ============================================================================ | COMMENT |
| MEDIUM | …tralrs-core/src/pipeline/loaders/multimodal_loaders.rs | 7089 | // ─── Voxtral ──────────────────────────────────────────────────────────────── | COMMENT |
| 40 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | mistralrs-macros/src/lib.rs | 4 | //! that can be used with the mistral.rs agentic loop. | COMMENT |
| MEDIUM | mistralrs-macros/src/lib.rs | 86 | /// used with the mistral.rs agentic loop. It generates: | COMMENT |
| MEDIUM | mistralrs-mcp/src/tools.rs | 135 | /// Context provided to tool callbacks by the agentic loop. | COMMENT |
| MEDIUM | mistralrs-cli/webui/src/lib/stores/chat.svelte.ts | 532 | // Fork the agentic session so the edited branch diverges cleanly from the prior turns. | COMMENT |
| MEDIUM | mistralrs-cli/webui/src/lib/stores/chat.svelte.ts | 581 | // Fork the agentic session so branches have independent state. Count complete turns BEFORE the | COMMENT |
| MEDIUM | mistralrs-cli/src/ui/types.rs | 57 | /// Server-side agentic session ID. Full session lives in `chat_<id>.session.json`. | COMMENT |
| MEDIUM | mistralrs-cli/src/ui/handlers/api.rs | 741 | /// Export the agentic session to a sidecar file beside the chat. Stamps the session_id into the chat JSON. | COMMENT |
| MEDIUM | mistralrs-cli/src/args/server.rs | 30 | /// Default maximum tool-call rounds for the agentic loop. | COMMENT |
| MEDIUM | mistralrs-cli/src/args/mod.rs | 654 | /// Build a local agent: enables web search, Python code execution, and shell execution, runs the agentic | COMMENT |
| MEDIUM | mistralrs-cli/src/args/mod.rs | 657 | #[arg(long, alias = "agentic")] | COMMENT |
| MEDIUM | mistralrs-pyo3/src/lib.rs | 1870 | /// Export an agentic session as a JSON string. `None` if missing. | COMMENT |
| MEDIUM | mistralrs-pyo3/src/lib.rs | 1889 | /// Import an agentic session from a JSON string. Replaces any existing session with the same ID. | COMMENT |
| MEDIUM | mistralrs-pyo3/src/lib.rs | 1904 | /// Delete an agentic session. Returns whether the session existed. | COMMENT |
| MEDIUM | mistralrs-pyo3/src/lib.rs | 1912 | /// List all stored agentic session IDs. | COMMENT |
| MEDIUM | mistralrs-pyo3/src/requests.rs | 279 | /// Session ID for persistent agentic state across requests. | COMMENT |
| MEDIUM | …rc/content/docs/guides/serve/openai-compatible-apis.md | 82 | ## Tools, structured output, and agentic features | COMMENT |
| MEDIUM | docs/src/content/docs/examples/python/agentic-tools.md | 118 | # max_tool_rounds enables the agentic loop: model calls tools, | COMMENT |
| MEDIUM | docs/src/content/docs/examples/rust/advanced/agent.md | 23 | //! Example demonstrating the agentic loop with tool calling | COMMENT |
| MEDIUM | docs/src/content/docs/examples/rust/advanced/agent.md | 28 | //! 3. Run the agentic loop (non-streaming) | COMMENT |
| MEDIUM | …content/docs/examples/rust/advanced/agent-streaming.md | 24 | //! Example demonstrating the agentic loop with streaming output | COMMENT |
| MEDIUM | …content/docs/examples/rust/advanced/agent-streaming.md | 29 | //! 3. Run the agentic loop with streaming output | COMMENT |
| MEDIUM | …src/content/docs/examples/rust/advanced/file-inputs.md | 22 | //! the prompt and can be paginated with the built-in file tools when the agentic | COMMENT |
| MEDIUM | …lrs-server-core/src/mistralrs_server_router_builder.rs | 50 | /// Server-level defaults for agentic features. | COMMENT |
| MEDIUM | …lrs-server-core/src/mistralrs_server_router_builder.rs | 107 | /// Server-level agentic defaults | COMMENT |
| MEDIUM | …lrs-server-core/src/mistralrs_server_router_builder.rs | 190 | /// Sets the default maximum tool-call rounds for the agentic loop. | COMMENT |
| MEDIUM | mistralrs-server-core/src/approvals.rs | 181 | /// Decision payload for a pending agentic tool approval. | COMMENT |
| MEDIUM | mistralrs-server-core/src/chat_completion.rs | 75 | /// produced by the agentic loop are still reachable via `GET /v1/files/{id}` but | COMMENT |
| MEDIUM | mistralrs-server-core/src/responses.rs | 542 | /// Maximum number of agentic tool rounds (mistral.rs extension) | COMMENT |
| MEDIUM | mistralrs-server-core/src/files.rs | 57 | /// Which agentic tool produced the file, and when in the session. | COMMENT |
| MEDIUM | …tralrs-server-core/src/mistralrs_for_server_builder.rs | 1359 | /// Creates a search embedding model configuration for agentic search reranking. | COMMENT |
| MEDIUM | mistralrs-server-core/src/openai.rs | 1091 | /// Permission policy for agentic tools. | COMMENT |
| MEDIUM | mistralrs-server-core/src/openai.rs | 1104 | /// Persistent agentic state. If `None`, a new session is created and the ID is returned in the response. | COMMENT |
| MEDIUM | examples/python/agentic_tools.py | 96 | # max_tool_rounds enables the agentic loop: model calls tools, | COMMENT |
| MEDIUM | mistralrs-core/src/response.rs | 170 | /// Ordered record of all tool calls made during the agentic loop. | COMMENT |
| MEDIUM | mistralrs-core/src/response.rs | 176 | /// Reuse in later requests to keep agentic state across messages. | COMMENT |
| MEDIUM | mistralrs-core/src/response.rs | 266 | /// Tool-specific structured progress data for agentic tool calls. | COMMENT |
| MEDIUM | mistralrs-core/src/response.rs | 301 | /// Phase of an agentic tool call. | COMMENT |
| MEDIUM | mistralrs-core/src/response.rs | 354 | /// Progress event emitted by the agentic loop during tool execution. | COMMENT |
| MEDIUM | mistralrs-core/src/request.rs | 314 | /// When true, registered code-execution tools are injected and the agentic loop runs. | COMMENT |
| MEDIUM | mistralrs-core/src/request.rs | 317 | /// When true, registered shell tools are injected and the agentic loop runs. | COMMENT |
| MEDIUM | mistralrs-core/src/request.rs | 338 | /// Persistent agentic state. If `None`, a new session is created and the ID is returned in the response. | COMMENT |
| MEDIUM | mistralrs-core/src/lib.rs | 1449 | /// Export an agentic session by ID. Bundles the session's files (full bodies). `None` if missing. | COMMENT |
| MEDIUM | mistralrs-core/src/lib.rs | 1513 | /// Delete an agentic session. Returns whether the session existed. | COMMENT |
| MEDIUM | mistralrs-core/src/files/store.rs | 11 | /// Per-entry TTL. Matches the agentic session default. | COMMENT |
| MEDIUM | mistralrs-core/src/files/mod.rs | 1 | //! Typed file outputs from agentic runs. | COMMENT |
| MEDIUM | mistralrs-core/src/files/mod.rs | 87 | /// A file produced by an agentic run. | COMMENT |
| MEDIUM | mistralrs-core/src/files/inject.rs | 1 | //! Helpers for surfacing `File`s to the model and adding the required-files contract to agentic tools. | COMMENT |
| MEDIUM | mistralrs-core/src/engine/agentic_loop.rs | 1261 | // Prevent the inner probe from re-entering the agentic loop or being rejected | COMMENT |
| MEDIUM | mistralrs-core/src/engine/agentic_loop.rs | 1262 | // by the files-without-agentic-surface guard in `add_request`. | COMMENT |
| MEDIUM | mistralrs-core/src/engine/agentic_session.rs | 17 | /// A stored agentic conversation, tool call/response messages included. | COMMENT |
| MEDIUM | mistralrs/examples/advanced/file_inputs/main.rs | 4 | //! the prompt and can be paginated with the built-in file tools when the agentic | COMMENT |
| MEDIUM | mistralrs/examples/advanced/agent/main.rs | 1 | //! Example demonstrating the agentic loop with tool calling | COMMENT |
| MEDIUM | mistralrs/examples/advanced/agent/main.rs | 6 | //! 3. Run the agentic loop (non-streaming) | COMMENT |
| MEDIUM | mistralrs/examples/advanced/agent_streaming/main.rs | 1 | //! Example demonstrating the agentic loop with streaming output | COMMENT |
| MEDIUM | mistralrs/examples/advanced/agent_streaming/main.rs | 6 | //! 3. Run the agentic loop with streaming output | COMMENT |
| MEDIUM | mistralrs/src/agent.rs | 3 | //! This module provides an `Agent` that runs an agentic loop with tool calling. | COMMENT |
| MEDIUM | mistralrs/src/agent.rs | 77 | /// Configuration for the agentic loop | COMMENT |
| MEDIUM | mistralrs/src/agent.rs | 468 | /// An agent that runs an agentic loop with tool calling | COMMENT |
| MEDIUM | mistralrs/src/agent.rs | 495 | /// Run the agentic loop with the given user message | COMMENT |
| MEDIUM | mistralrs/src/messages.rs | 49 | /// Maximum tool-call rounds for the agentic loop. | COMMENT |
| 9 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | docs/src/content/docs/examples/python/lfm2.md | 0 | liquidai lfm2.5 moe text generation with the python sdk. | STRING |
| HIGH | examples/python/lfm2.py | 0 | liquidai lfm2.5 moe text generation with the python sdk. | STRING |
| HIGH | docs/src/content/docs/examples/python/lfm2-moe.md | 0 | liquidai lfm2.5 moe text generation with the python sdk. | STRING |
| HIGH | examples/python/lfm2_moe.py | 0 | liquidai lfm2.5 moe text generation with the python sdk. | STRING |
| HIGH | docs/src/content/docs/examples/python/shell-skills.md | 0 | --- name: invoice-auditor description: checks invoice line items and totals with a local python helper. --- # invoice au | STRING |
| HIGH | docs/src/content/docs/examples/server/skills.md | 0 | --- name: invoice-auditor description: checks invoice line items and totals with a local python helper. --- # invoice au | STRING |
| HIGH | examples/python/shell_skills.py | 0 | --- name: invoice-auditor description: checks invoice line items and totals with a local python helper. --- # invoice au | STRING |
| HIGH | examples/server/skills.py | 0 | --- name: invoice-auditor description: checks invoice line items and totals with a local python helper. --- # invoice au | STRING |
| HIGH | docs/src/content/docs/examples/python/shell-skills.md | 0 | item,amount hosting,25.00 storage,12.50 support,17.50 declared_total,55.00 | STRING |
| HIGH | …s/src/content/docs/examples/server/anthropic-skills.md | 0 | item,amount hosting,25.00 storage,12.50 support,17.50 declared_total,55.00 | STRING |
| HIGH | docs/src/content/docs/examples/server/skills.md | 0 | item,amount hosting,25.00 storage,12.50 support,17.50 declared_total,55.00 | STRING |
| HIGH | examples/python/shell_skills.py | 0 | item,amount hosting,25.00 storage,12.50 support,17.50 declared_total,55.00 | STRING |
| HIGH | examples/server/skills.py | 0 | item,amount hosting,25.00 storage,12.50 support,17.50 declared_total,55.00 | STRING |
| HIGH | examples/server/anthropic_skills.py | 0 | item,amount hosting,25.00 storage,12.50 support,17.50 declared_total,55.00 | STRING |
| HIGH | docs/src/content/docs/examples/python/shell-skills.md | 0 | import csv import sys with open(sys.argv[1], newline="") as handle: rows = list(csv.dictreader(handle)) declared = float | STRING |
| HIGH | docs/src/content/docs/examples/server/skills.md | 0 | import csv import sys with open(sys.argv[1], newline="") as handle: rows = list(csv.dictreader(handle)) declared = float | STRING |
| HIGH | examples/python/shell_skills.py | 0 | import csv import sys with open(sys.argv[1], newline="") as handle: rows = list(csv.dictreader(handle)) declared = float | STRING |
| HIGH | examples/server/skills.py | 0 | import csv import sys with open(sys.argv[1], newline="") as handle: rows = list(csv.dictreader(handle)) declared = float | STRING |
| HIGH | docs/src/content/docs/examples/server/anthropic-chat.md | 0 | streaming anthropic messages api example for the mistral.rs server. run the server: mistralrs serve -p 1234 -m qwen/qwen | STRING |
| HIGH | examples/server/anthropic_chat.py | 0 | streaming anthropic messages api example for the mistral.rs server. run the server: mistralrs serve -p 1234 -m qwen/qwen | STRING |
| HIGH | …rc/content/docs/examples/server/anthropic-streaming.md | 0 | streaming anthropic messages api example for the mistral.rs server. run the server: mistralrs serve -p 1234 -m qwen/qwen | STRING |
| HIGH | examples/server/anthropic_streaming.py | 0 | streaming anthropic messages api example for the mistral.rs server. run the server: mistralrs serve -p 1234 -m qwen/qwen | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …s-paged-attn/src/cuda/backend/context_attention_mla.rs | 147 | // Step 1: Absorb w_uk into query | COMMENT |
| LOW⚡ | …s-paged-attn/src/cuda/backend/context_attention_mla.rs | 155 | // Step 2: Gather cached ckv/kpe if any context exists | COMMENT |
| LOW⚡ | …s-paged-attn/src/cuda/backend/context_attention_mla.rs | 165 | // Step 3: Per-sequence attention in latent space | COMMENT |
| LOW | docs/src/content/docs/examples/python/tool-call.md | 62 | # Step 1: Model generates a tool call | COMMENT |
| LOW | docs/src/content/docs/examples/python/tool-call.md | 78 | # Step 2: Send the result back | COMMENT |
| LOW | docs/src/content/docs/examples/python/tool-call.md | 87 | # Step 3: Model produces the final answer | COMMENT |
| LOW⚡ | docs/src/content/docs/examples/server/tool-calling.md | 61 | # Step 1: Model generates a tool call | COMMENT |
| LOW⚡ | docs/src/content/docs/examples/server/tool-calling.md | 68 | # Step 2: Execute the tool locally | COMMENT |
| LOW⚡ | docs/src/content/docs/examples/server/tool-calling.md | 74 | # Step 3: Send the result back | COMMENT |
| LOW | docs/src/content/docs/examples/server/tool-calling.md | 100 | # Step 4: Model produces the final answer | COMMENT |
| LOW | …content/docs/examples/server/anthropic-tool-calling.md | 73 | # Step 1: Model generates a tool call. | COMMENT |
| LOW | …content/docs/examples/server/anthropic-tool-calling.md | 92 | # Step 2: Execute the tool locally. | COMMENT |
| LOW | …content/docs/examples/server/anthropic-tool-calling.md | 96 | # Step 3: Send the result back. | COMMENT |
| LOW | …content/docs/examples/server/anthropic-tool-calling.md | 111 | # Step 4: Model produces the final answer. | COMMENT |
| LOW⚡ | mistralrs-quant/src/gguf/cuda.rs | 922 | // Step 1: Quantize input to Q8_1 (shared between gate and up) | COMMENT |
| LOW⚡ | mistralrs-quant/src/gguf/cuda.rs | 927 | // Step 2: Fused gate+up+activation+multiply | COMMENT |
| LOW⚡ | mistralrs-quant/src/gguf/cuda.rs | 987 | // Step 3: Quantize the intermediate output for down projection | COMMENT |
| LOW⚡ | mistralrs-quant/src/gguf/cuda.rs | 997 | // Step 4: Fused down+aggregate with topk_weights and atomicAdd | COMMENT |
| LOW | examples/python/tool_call.py | 47 | # Step 1: Model generates a tool call | COMMENT |
| LOW⚡ | examples/python/tool_call.py | 63 | # Step 2: Send the result back | COMMENT |
| LOW⚡ | examples/python/tool_call.py | 72 | # Step 3: Model produces the final answer | COMMENT |
| LOW | examples/server/anthropic_tool_calling.py | 55 | # Step 1: Model generates a tool call. | COMMENT |
| LOW⚡ | examples/server/anthropic_tool_calling.py | 74 | # Step 2: Execute the tool locally. | COMMENT |
| LOW⚡ | examples/server/anthropic_tool_calling.py | 78 | # Step 3: Send the result back. | COMMENT |
| LOW | examples/server/anthropic_tool_calling.py | 93 | # Step 4: Model produces the final answer. | COMMENT |
| LOW⚡ | examples/server/tool_calling.py | 43 | # Step 1: Model generates a tool call | COMMENT |
| LOW⚡ | examples/server/tool_calling.py | 50 | # Step 2: Execute the tool locally | COMMENT |
| LOW⚡ | examples/server/tool_calling.py | 56 | # Step 3: Send the result back | COMMENT |
| LOW | examples/server/tool_calling.py | 82 | # Step 4: Model produces the final answer | COMMENT |
| LOW | mistralrs-core/src/utils/mod.rs | 129 | // Step 1: Add all choices to groups | COMMENT |
| LOW | mistralrs-core/src/utils/mod.rs | 163 | // Step 2: Respond with all groups | COMMENT |
| LOW | mistralrs-core/src/utils/mod.rs | 220 | // Step 3: Set state - This cannot be done in Step 2 as `group` is locking the refcell | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | mistralrs-code-exec/python/executor.py | 119 | except Exception: | CODE |
| LOW | mistralrs-code-exec/python/executor.py | 130 | except Exception: | CODE |
| LOW | mistralrs-code-exec/python/executor.py | 154 | except Exception: | CODE |
| LOW | mistralrs-code-exec/python/executor.py | 175 | except Exception: | CODE |
| LOW | mistralrs-code-exec/python/executor.py | 308 | except Exception as e: | CODE |
| LOW | mistralrs-code-exec/python/executor.py | 384 | except Exception: | CODE |
| LOW | mistralrs-code-exec/python/executor.py | 471 | except Exception as e: | CODE |
| LOW | docs/scripts/render_pyi.py | 152 | except Exception: | CODE |
| LOW | docs/src/content/docs/examples/python/agentic-tools.md | 56 | except Exception as e: | CODE |
| LOW | …s/src/content/docs/examples/python/test-multi-model.md | 108 | except Exception as e: | CODE |
| LOW | …s/src/content/docs/examples/python/test-multi-model.md | 157 | except Exception as e: | CODE |
| LOW | …s/src/content/docs/examples/python/test-multi-model.md | 210 | except Exception as e: | CODE |
| LOW⚡ | …s/src/content/docs/examples/python/test-multi-model.md | 238 | except Exception as e: | CODE |
| LOW⚡ | …s/src/content/docs/examples/python/test-multi-model.md | 246 | except Exception as e: | CODE |
| LOW⚡ | …s/src/content/docs/examples/python/test-multi-model.md | 252 | except Exception as e: | CODE |
| LOW | …s/src/content/docs/examples/python/custom-tool-call.md | 34 | except Exception: | CODE |
| LOW | docs/src/content/docs/examples/python/custom-search.md | 33 | except Exception: | CODE |
| LOW | docs/src/content/docs/examples/server/mcp-chat.md | 134 | except Exception as e: | CODE |
| MEDIUM | docs/src/content/docs/examples/server/mcp-chat.md | 135 | print(f"Error making request: {e}") | CODE |
| LOW | docs/src/content/docs/examples/server/tool-dispatch.md | 164 | except Exception as e: | CODE |
| MEDIUM | docs/src/content/docs/examples/server/tool-dispatch.md | 165 | print(f"Error: {e}") | CODE |
| LOW | …rc/content/docs/examples/server/agentic-tool-rounds.md | 87 | except Exception as e: | CODE |
| MEDIUM | …rc/content/docs/examples/server/agentic-tool-rounds.md | 88 | print(f"Error: {e}") | CODE |
| LOW | …content/docs/examples/server/streaming-tool-calling.md | 93 | except Exception as e: | CODE |
| LOW | …content/docs/examples/server/streaming-tool-calling.md | 192 | except Exception as e: | CODE |
| MEDIUM | …s/src/content/docs/examples/server/multi-model-chat.md | 287 | print("Error: Could not connect to server.") | CODE |
| LOW | examples/python/test_multi_model.py | 89 | except Exception as e: | CODE |
| LOW | examples/python/test_multi_model.py | 138 | except Exception as e: | CODE |
| LOW | examples/python/test_multi_model.py | 191 | except Exception as e: | CODE |
| LOW⚡ | examples/python/test_multi_model.py | 219 | except Exception as e: | CODE |
| LOW⚡ | examples/python/test_multi_model.py | 227 | except Exception as e: | CODE |
| LOW⚡ | examples/python/test_multi_model.py | 233 | except Exception as e: | CODE |
| LOW | examples/python/custom_search.py | 19 | except Exception: | CODE |
| LOW | examples/python/agentic_tools.py | 34 | except Exception as e: | CODE |
| LOW | examples/python/custom_tool_call.py | 20 | except Exception: | CODE |
| LOW | examples/server/agentic_tool_rounds.py | 60 | except Exception as e: | CODE |
| MEDIUM | examples/server/agentic_tool_rounds.py | 61 | print(f"Error: {e}") | CODE |
| LOW | examples/server/tool_dispatch.py | 142 | except Exception as e: | CODE |
| MEDIUM | examples/server/tool_dispatch.py | 143 | print(f"Error: {e}") | CODE |
| LOW | examples/server/streaming_tool_calling.py | 64 | except Exception as e: | CODE |
| LOW | examples/server/streaming_tool_calling.py | 163 | except Exception as e: | CODE |
| MEDIUM | examples/server/multi_model_chat.py | 265 | print("Error: Could not connect to server.") | CODE |
| LOW | examples/server/mcp_chat.py | 109 | except Exception as e: | CODE |
| MEDIUM | examples/server/mcp_chat.py | 110 | print(f"Error making request: {e}") | CODE |
| LOW | scripts/convert_awq_marlin.py | 218 | except Exception as e: | CODE |
| MEDIUM | scripts/convert_awq_marlin.py | 219 | print(f"Error: {e}") | CODE |
| MEDIUM | scripts/upload_wheels.py | 244 | print(f"Error: Directory does not exist: {args.directory}", file=sys.stderr) | STRING |
| MEDIUM | scripts/build_wheels.py | 515 | print(f"Error: {pkg} cannot be built on this platform", file=sys.stderr) | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | mistralrs-pyo3/src/lib.rs | 1055 | // found when rig is used as client. In this case, we need to check if | COMMENT |
| LOW | mistralrs-pyo3/src/lib.rs | 2000 | // found when rig is used as client. In this case, we need to check if | COMMENT |
| LOW⚡ | …s-paged-attn/src/cuda/backend/context_attention_mla.rs | 147 | // Step 1: Absorb w_uk into query | COMMENT |
| LOW⚡ | …s-paged-attn/src/cuda/backend/context_attention_mla.rs | 155 | // Step 2: Gather cached ckv/kpe if any context exists | COMMENT |
| LOW⚡ | …s-paged-attn/src/cuda/backend/context_attention_mla.rs | 165 | // Step 3: Per-sequence attention in latent space | COMMENT |
| LOW | mistralrs-server-core/src/chat_completion.rs | 687 | // found when rig is used as client. In this case, we need to check if | COMMENT |
| LOW⚡ | mistralrs-quant/src/gguf/cuda.rs | 922 | // Step 1: Quantize input to Q8_1 (shared between gate and up) | COMMENT |
| LOW⚡ | mistralrs-quant/src/gguf/cuda.rs | 927 | // Step 2: Fused gate+up+activation+multiply | COMMENT |
| LOW⚡ | mistralrs-quant/src/gguf/cuda.rs | 987 | // Step 3: Quantize the intermediate output for down projection | COMMENT |
| LOW⚡ | mistralrs-quant/src/gguf/cuda.rs | 997 | // Step 4: Fused down+aggregate with topk_weights and atomicAdd | COMMENT |
| LOW | examples/python/tool_call.py | 47 | # Step 1: Model generates a tool call | COMMENT |
| LOW⚡ | examples/python/tool_call.py | 63 | # Step 2: Send the result back | COMMENT |
| LOW⚡ | examples/python/tool_call.py | 72 | # Step 3: Model produces the final answer | COMMENT |
| LOW | examples/server/anthropic_tool_calling.py | 55 | # Step 1: Model generates a tool call. | COMMENT |
| LOW⚡ | examples/server/anthropic_tool_calling.py | 74 | # Step 2: Execute the tool locally. | COMMENT |
| LOW⚡ | examples/server/anthropic_tool_calling.py | 78 | # Step 3: Send the result back. | COMMENT |
| LOW | examples/server/anthropic_tool_calling.py | 93 | # Step 4: Model produces the final answer. | COMMENT |
| LOW⚡ | examples/server/tool_calling.py | 43 | # Step 1: Model generates a tool call | COMMENT |
| LOW⚡ | examples/server/tool_calling.py | 50 | # Step 2: Execute the tool locally | COMMENT |
| LOW⚡ | examples/server/tool_calling.py | 56 | # Step 3: Send the result back | COMMENT |
| LOW | examples/server/tool_calling.py | 82 | # Step 4: Model produces the final answer | COMMENT |
| LOW | mistralrs-core/src/utils/mod.rs | 129 | // Step 1: Add all choices to groups | COMMENT |
| LOW | mistralrs-core/src/utils/mod.rs | 163 | // Step 2: Respond with all groups | COMMENT |
| LOW | mistralrs-core/src/utils/mod.rs | 220 | // Step 3: Set state - This cannot be done in Step 2 as `group` is locking the refcell | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | mistralrs-mcp/src/client.rs | 177 | /// - **Tool Registration**: Converts MCP tools to internal Tool format for seamless integration | COMMENT |
| MEDIUM | …tralrs-server-core/src/mistralrs_for_server_builder.rs | 209 | /// Percentage of GPU memory to utilize after allocation of KV cache with PagedAttention, from 0 to 1. | COMMENT |
| MEDIUM | …tralrs-server-core/src/mistralrs_for_server_builder.rs | 526 | /// Sets the percentage of GPU memory to utilize for PagedAttention. | COMMENT |
| MEDIUM | …tralrs-server-core/src/mistralrs_for_server_builder.rs | 532 | /// Sets the percentage of GPU memory to utilize for PagedAttention if provided. | COMMENT |
| MEDIUM | mistralrs-quant/src/distributed/layers.rs | 1092 | // Keep weights as FP8 using BlockwiseFP8 to leverage native FP8 GEMM in gather_forward | COMMENT |
| MEDIUM | mistralrs-quant/src/distributed/layers.rs | 1232 | // Keep weights as FP8 using BlockwiseFP8 to leverage native FP8 GEMM in gather_forward | COMMENT |
| MEDIUM | scripts/generate_uqff_card.py | 84 | output += "\n\n## Topologies\n**The following model topologies were used to generate this UQFF file. Only informatio | STRING |
| MEDIUM | mistralrs-core/src/model_selected.rs | 93 | /// Generate and utilize an imatrix to enhance GGUF quantizations. | COMMENT |
| MEDIUM | mistralrs-core/src/model_selected.rs | 182 | /// Generate and utilize an imatrix to enhance GGUF quantizations. | COMMENT |
| MEDIUM | mistralrs-core/src/model_selected.rs | 619 | /// Generate and utilize an imatrix to enhance GGUF quantizations. | COMMENT |
| MEDIUM | mistralrs-core/src/toml_selector.rs | 75 | /// Generate and utilize an imatrix to enhance GGUF quantizations. | COMMENT |
| MEDIUM | mistralrs-core/src/toml_selector.rs | 418 | /// Generate and utilize an imatrix to enhance GGUF quantizations. | COMMENT |
| MEDIUM | mistralrs-core/src/vision_models/siglip.rs | 89 | // For robust handling of NaNs, you might need a custom comparison. | COMMENT |
| MEDIUM | mistralrs-core/src/vision_models/idefics3/vision.rs | 98 | // For robust handling of NaNs, you might need a custom comparison. | COMMENT |
| MEDIUM | mistralrs-core/src/vision_models/idefics2/mod.rs | 244 | // For robust handling of NaNs, you might need a custom comparison. | COMMENT |
| MEDIUM | mistralrs/examples/advanced/perplexity/main.rs | 32 | /// Generate and utilize an imatrix to enhance GGUF quantizations. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | examples/python/test_multi_model.py | 26 | # Create a simple runner | COMMENT |
| MEDIUM | examples/python/multi_model_example.py | 29 | # Create a runner with Gemma 4 E4B multimodal model | COMMENT |
| MEDIUM | examples/python/gpt_oss.py | 11 | # Create a GPT-OSS model runner | COMMENT |
| MEDIUM | examples/python/granite.py | 8 | # Create a Granite model runner | COMMENT |
| MEDIUM | examples/python/smollm3.py | 8 | # Create a SmolLM3 model runner | COMMENT |
| MEDIUM | examples/server/mcp_chat.py | 49 | # Create a chat completion request that can trigger MCP tool usage | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | mistralrs-code-exec/python/executor.py | 134 | def capture_matplotlib_figures(): | CODE |
| LOW | …rc/content/docs/examples/python/multi-model-example.md | 49 | def example_runner_with_model_id(): | CODE |
| LOW | …rc/content/docs/examples/python/multi-model-example.md | 154 | def example_streaming_with_models(): | CODE |
| LOW | …rc/content/docs/examples/python/multi-model-example.md | 183 | def example_multi_model_setup(): | CODE |
| LOW | …s/src/content/docs/examples/python/test-multi-model.md | 40 | def test_multi_model_operations(): | CODE |
| LOW | …s/src/content/docs/examples/python/test-multi-model.md | 118 | def test_model_id_in_requests(): | CODE |
| LOW | …s/src/content/docs/examples/server/multi-model-chat.md | 157 | def model_specific_tasks_example(): | CODE |
| LOW | …s/src/content/docs/examples/server/multi-model-chat.md | 245 | def interactive_model_selection(): | CODE |
| LOW | examples/python/test_multi_model.py | 21 | def test_multi_model_operations(): | CODE |
| LOW | examples/python/test_multi_model.py | 99 | def test_model_id_in_requests(): | CODE |
| LOW | examples/python/multi_model_example.py | 26 | def example_runner_with_model_id(): | CODE |
| LOW | examples/python/multi_model_example.py | 131 | def example_streaming_with_models(): | CODE |
| LOW | examples/python/multi_model_example.py | 160 | def example_multi_model_setup(): | CODE |
| LOW | examples/server/multi_model_chat.py | 135 | def model_specific_tasks_example(): | CODE |
| LOW | examples/server/multi_model_chat.py | 223 | def interactive_model_selection(): | CODE |
| LOW | scripts/convert_awq_marlin.py | 104 | def awq_to_marlin_zero_points( | CODE |
| LOW | scripts/build_wheels.py | 221 | def get_features_for_base_package(plat: Platform) -> list[str]: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | releases/v0.9.0/scripts/plot_results.py | 41 | CODE | |
| LOW | releases/v0.9.0/scripts/plot_results.py | 67 | CODE | |
| LOW | releases/v0.9.0/scripts/plot_results.py | 96 | CODE | |
| LOW | mistralrs-code-exec/python/executor.py | 272 | CODE | |
| LOW | mistralrs-code-exec/python/executor.py | 325 | CODE | |
| LOW | docs/scripts/render_pyi.py | 226 | CODE | |
| LOW | docs/scripts/render_pyi.py | 408 | CODE | |
| LOW | examples/python/custom_search.py | 11 | CODE | |
| LOW | examples/python/custom_tool_call.py | 12 | CODE | |
| LOW | examples/server/streaming_tool_calling.py | 77 | CODE | |
| LOW | examples/server/multi_model_chat.py | 57 | CODE | |
| LOW | examples/server/anthropic_streaming.py | 19 | CODE | |
| LOW | examples/server/code_execution_approval.py | 87 | CODE | |
| LOW | examples/server/anthropic_agentic.py | 19 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | install.sh | 10 | # Check if we can prompt the user (stdin is a tty or we have /dev/tty) | COMMENT |
| LOW | install.sh | 98 | # Check if Rust is installed | COMMENT |
| LOW | install.sh | 223 | # Check if MKL is installed | COMMENT |
| LOW | install.sh | 240 | # Check if CPU is Intel | COMMENT |
| LOW | install.sh | 290 | # Check if cuDNN is installed | COMMENT |
| LOW | install.sh | 301 | # Check if NCCL is installed | COMMENT |
| LOW | install.sh | 392 | # Check if ffmpeg is installed | COMMENT |
| LOW | examples/python/multi_model_example.py | 81 | # Check if a model is loaded | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | releases/v0.9.0/scripts/bench_cpu_sweep.py | 17 | CODE | |
| LOW | releases/v0.9.0/scripts/plot_results.py | 5 | CODE | |
| LOW | docs/scripts/render_pyi.py | 13 | CODE | |
| LOW | docs/scripts/render_examples.py | 15 | CODE | |
| LOW | scripts/upload_wheels.py | 14 | CODE | |
| LOW | scripts/build_wheels.py | 14 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/src/content/docs/examples/server/mcp-chat.md | 52 | api_key="placeholder", # mistral.rs doesn't require a real API key | CODE |
| LOW | docs/src/content/docs/examples/server/tool-dispatch.md | 119 | api_key="placeholder", | CODE |
| LOW | …rc/content/docs/examples/server/agentic-tool-rounds.md | 54 | api_key="placeholder", | CODE |
| LOW | examples/server/agentic_tool_rounds.py | 27 | api_key="placeholder", | CODE |
| LOW | examples/server/tool_dispatch.py | 97 | api_key="placeholder", | CODE |
| LOW | examples/server/mcp_chat.py | 27 | api_key="placeholder", # mistral.rs doesn't require a real API key | CODE |