feat: bump version to 0.1.8 and update FastEmbedAdapter constructor return type

This commit is contained in:
2026-01-02 14:56:16 +01:00
parent f1b163040c
commit 576594f1c7
3 changed files with 3 additions and 3 deletions

2
Cargo.lock generated
View File

@@ -1775,7 +1775,7 @@ dependencies = [
[[package]] [[package]]
name = "k-core" name = "k-core"
version = "0.1.7" version = "0.1.8"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"async-nats", "async-nats",

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "k-core" name = "k-core"
version = "0.1.7" version = "0.1.8"
edition = "2024" edition = "2024"
[features] [features]

View File

@@ -7,7 +7,7 @@ pub struct FastEmbedAdapter {
} }
impl FastEmbedAdapter { impl FastEmbedAdapter {
pub fn new() -> DomainResult<Self> { pub fn new() -> anyhow::Result<Self> {
let mut options = InitOptions::default(); let mut options = InitOptions::default();
options.model_name = EmbeddingModel::AllMiniLML6V2; options.model_name = EmbeddingModel::AllMiniLML6V2;
options.show_download_progress = false; options.show_download_progress = false;