Merge pull request #3201 from whtiehack/pr/fix-channel-embedding-routes

fix(channels): pass embedding routes to channel memory init
This commit is contained in:
Argenis 2026-03-11 12:07:53 -04:00 committed by GitHub
commit 9cfc88c38c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3104,8 +3104,9 @@ pub async fn start_channels(config: Config) -> Result<()> {
));
let model = resolved_default_model(&config);
let temperature = config.default_temperature;
let mem: Arc<dyn Memory> = Arc::from(memory::create_memory_with_storage(
let mem: Arc<dyn Memory> = Arc::from(memory::create_memory_with_storage_and_routes(
&config.memory,
&config.embedding_routes,
Some(&config.storage.provider.config),
&config.workspace_dir,
config.api_key.as_deref(),