fix: restore smart-approve mode (#7690)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
This commit is contained in:
@@ -105,7 +105,7 @@ impl McpFixtureServer {
|
||||
}
|
||||
}
|
||||
|
||||
#[tool(description = "Get the code")]
|
||||
#[tool(description = "Get the code", annotations(read_only_hint = true))]
|
||||
fn get_code(&self) -> Result<CallToolResult, McpError> {
|
||||
Ok(CallToolResult::success(vec![Content::text(FAKE_CODE)]))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user