chore: fix clippy warnings and run rustfmt
This commit is contained in:
1 parent
fecd8bf33f
commit
3765e6b05d
21 files changed
+420
-369
No files matched your search
@@ -552,9 +552,10 @@ impl SearchService {
|
||||
self.state.read_graph(|graph| {
|
||||
for entity in graph.entities.values() {
|
||||
if let Some(ns) = filter_namespace
|
||||
&& entity.namespace != ns {
|
||||
continue;
|
||||
}
|
||||
&& entity.namespace != ns
|
||||
{
|
||||
continue;
|
||||
}
|
||||
let obs = entity.observations.join("; ");
|
||||
let desc = format!("{}: {}", entity.entity_type, obs);
|
||||
if let Some(ref emb) = entity.embedding {
|
||||
|
||||
Reference in new issue
Block a user