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:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user