feat: implement hybrid fetch_url tool and isolate crashes
This commit is contained in:
1 parent
4342615649
commit
3533c243d2
9 files changed
+448
-61
No files matched your search
@@ -0,0 +1,11 @@
|
||||
use mcp_memory_server::embedding::generate_embeddings_async;
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
println!("Testing candle embeddings...");
|
||||
let res = generate_embeddings_async(vec!["hello world".to_string()]).await;
|
||||
match res {
|
||||
Ok(v) => println!("Success: vector length {}", v.len()),
|
||||
Err(e) => println!("Error: {}", e),
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user