fix: post endpoint url on sse endpoint event (#900)

This commit is contained in:
Salman Mohammed
2025-01-29 16:48:04 -05:00
committed by GitHub
parent 129e4a9e44
commit 407cebf921
2 changed files with 8 additions and 6 deletions

View File

@@ -43,7 +43,7 @@ async fn main() -> Result<()> {
println!("Connected to server: {server_info:?}\n");
// Sleep for 100ms to allow the server to start - surprisingly this is required!
tokio::time::sleep(Duration::from_millis(100)).await;
tokio::time::sleep(Duration::from_millis(500)).await;
// List tools
let tools = client.list_tools(None).await?;