mirror of
https://github.com/whit3rabbit/anyllm-proxy.git
synced 2026-09-21 16:00:49 +00:00
- tools_map: use std::slice::from_ref over &[clone()] in 4 tests - gemini_streaming_map: rewrite match as matches! - backend/mod.rs: move impl BackendClient before #[cfg(test)] mod tests - middleware: replace .filter().last() with .rfind() (xff parsing) - middleware: drop dead `|| true` in is_ip_allowed smoke test - sse: drop blank line between doc comment and assert_sse_ok - streaming example: collapse nested if-let into outer match arms - tool_execution tests: array literal over vec! for one-off slices - live_bedrock: use is_some_and instead of map_or(false, _) - live_api / live_responses: contains() over iter().any() on &[&str] All test-only / example changes; no production behavior change. 1130 tests pass, fmt clean, clippy -D warnings clean. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>