Fix Rust generator prompt - replace template placeholder with clear example

This commit is contained in:
Troy Taylor 2025-10-16 15:23:50 -04:00
parent 88ae94fd0a
commit e774908ec5

View File

@ -437,8 +437,9 @@ use rmcp::{
server::{RequestContext, ServerHandler, RoleServer}, server::{RequestContext, ServerHandler, RoleServer},
}; };
// Import your handler // Replace with your actual project name in snake_case
use {project_name_snake_case}::handler::McpHandler; // Example: if project is "my-mcp-server", use my_mcp_server
use my_mcp_server::handler::McpHandler;
#[tokio::test] #[tokio::test]
async fn test_list_tools() { async fn test_list_tools() {