Files
ollama-rs/examples/tool_call.rs
André Cipriani Bandarra 0f0f227208 Return OllamaResult from Message::tool_response instead of panicking
Replaced unwrap() with ? operator so serialization errors propagate
as OllamaError::ResponseParseError instead of panicking. This is
safer for a library API where callers should decide how to handle
errors.
2026-01-30 19:38:28 +00:00

2.3 KiB