diff --git a/examples/mcp-host/nodes/telepathy.py b/examples/mcp-host/nodes/telepathy.py index 8dece99d..10554a38 100644 --- a/examples/mcp-host/nodes/telepathy.py +++ b/examples/mcp-host/nodes/telepathy.py @@ -25,7 +25,6 @@ star_movie_pairs = [ {"star": "Jennifer Lawrence", "movie": "The Hunger Games"}, {"star": "Morgan Freeman", "movie": "The Shawshank Redemption"}, {"star": "Denzel Washington", "movie": "Training Day"}, - {"star": "Matt Damon", "movie": "The Martian"}, ] node = Node() diff --git a/node-hub/dora-mcp-host/src/config.rs b/node-hub/dora-mcp-host/src/config.rs index 102220e0..3e158656 100644 --- a/node-hub/dora-mcp-host/src/config.rs +++ b/node-hub/dora-mcp-host/src/config.rs @@ -34,7 +34,7 @@ pub fn init() { "json" => Figment::new().merge(Json::file(config_path)), "toml" => Figment::new().merge(Toml::file(config_path)), ext => { - eprintln!("unsupport config file format: {ext:?}"); + eprintln!("unsupported config file format: {ext:?}"); std::process::exit(1); } }; diff --git a/node-hub/dora-mcp-host/src/routing.rs b/node-hub/dora-mcp-host/src/routing.rs index 5645f58e..5d26359a 100644 --- a/node-hub/dora-mcp-host/src/routing.rs +++ b/node-hub/dora-mcp-host/src/routing.rs @@ -67,7 +67,7 @@ async fn chat_completions( tracing::info!("Prepare the chat completion request."); let mut chat_request = match req.parse_json::().await { - Ok(chat_requst) => chat_requst, + Ok(chat_request) => chat_request, Err(e) => { println!( "parse request error: {e}, payload: {}",