Fix Rust generator prompt - replace template placeholder with clear example
This commit is contained in:
parent
88ae94fd0a
commit
e774908ec5
@ -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() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user