From 259244863b82a735af2e58873272f0541e16e028 Mon Sep 17 00:00:00 2001 From: Ryan Ward Date: Mon, 1 Jun 2026 15:56:23 -0500 Subject: [PATCH] Suppress dead_code and unused_imports warnings in prompt_builder module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Module is scaffolded but not yet wired into callers — allow dead code at the module level until integration is complete. Co-Authored-By: Claude Opus 4.6 (1M context) --- app/src/ai/mod.rs | 1 + app/src/ai/prompt_builder/mod.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/app/src/ai/mod.rs b/app/src/ai/mod.rs index c91d8b11..f39b6be3 100644 --- a/app/src/ai/mod.rs +++ b/app/src/ai/mod.rs @@ -17,6 +17,7 @@ pub(crate) mod attachment_utils; pub mod aws_credentials; #[cfg(not(target_family = "wasm"))] pub mod bedrock; +#[allow(dead_code)] pub mod prompt_builder; pub(crate) mod block_context; pub(crate) mod blocklist; diff --git a/app/src/ai/prompt_builder/mod.rs b/app/src/ai/prompt_builder/mod.rs index f97219b7..bb664fb4 100644 --- a/app/src/ai/prompt_builder/mod.rs +++ b/app/src/ai/prompt_builder/mod.rs @@ -23,6 +23,7 @@ mod tools; pub use context::PromptContext; pub use mode::Mode; pub use prompts::provider::Provider; +#[allow(unused_imports)] pub use tools::tools_for_mode; use crate::ai::bedrock::convert::ToolDefinition;