clip-search: fmt + clippy clamp + test AppState arg

Pulls cargo fmt + clippy pass over the new files only — pre-existing
files left untouched even though fmt has drift on them. clamp(1,200)
swaps a manual min/max chain that clippy flagged. test AppState
constructor needed ClipClient::new(None) so the lib-test target
compiles.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Cameron Cordes
2026-05-14 14:09:20 -04:00
parent 32195ed89e
commit 66267cc345
6 changed files with 34 additions and 26 deletions

View File

@@ -450,6 +450,7 @@ impl AppState {
insight_chat,
preview_dao,
FaceClient::new(None), // disabled in test
ClipClient::new(None), // disabled in test
)
}
}