Cleanup unused message embedding code
Fixup some warnings
This commit is contained in:
@@ -95,10 +95,11 @@ async fn main() -> Result<()> {
|
||||
if args.skip_existing
|
||||
&& let Ok(exists) =
|
||||
dao_instance.search_exists(&context, search.timestamp, &search.query)
|
||||
&& exists {
|
||||
skipped_count += 1;
|
||||
continue;
|
||||
}
|
||||
&& exists
|
||||
{
|
||||
skipped_count += 1;
|
||||
continue;
|
||||
}
|
||||
|
||||
// Only insert if we have an embedding
|
||||
if let Some(embedding) = embedding_opt {
|
||||
|
||||
Reference in New Issue
Block a user