mirror of
https://github.com/ruvnet/RuVector.git
synced 2026-05-27 08:45:07 +00:00
MultiHeadAttention::new() and RuvectorLayer::new() used assert!() for input validation which caused fatal abort() when called from NAPI-RS/WASM bindings — unrecoverable by JavaScript callers. Both now return Result<Self, GnnError>, and all WASM/NAPI wrappers propagate errors as catchable JS exceptions. Also fixes pre-existing mmap.rs test compilation error (grad_offset returns Option<usize>, not usize). Closes #216 Co-Authored-By: claude-flow <ruv@ruv.net> |
||
|---|---|---|
| .. | ||
| cli | ||
| mcp | ||
| config.rs | ||
| main.rs | ||
| mcp_server.rs | ||