fix: remove incorrect anyhow::Result import and redundant impl block

Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
This commit is contained in:
Andrew Phillips
2025-08-25 16:53:00 -03:00
parent b015a63f04
commit 456430b36e

View File

@@ -1,4 +1,3 @@
use anyhow::Result;
use log::debug; use log::debug;
use serde_json::Value; use serde_json::Value;
@@ -14,9 +13,7 @@ impl KeepMcpServer {
pub fn new(state: AppState) -> Self { pub fn new(state: AppState) -> Self {
Self { state } Self { state }
} }
}
impl KeepMcpServer {
pub async fn handle_request(&self, method: &str, params: Option<Value>) -> Result<String, ToolError> { pub async fn handle_request(&self, method: &str, params: Option<Value>) -> Result<String, ToolError> {
debug!("MCP: Handling request '{}' with params: {:?}", method, params); debug!("MCP: Handling request '{}' with params: {:?}", method, params);