fix(channels): pass embedding routes to channel memory init
This commit is contained in:
parent
fd40eeb408
commit
7cacdef2d1
@ -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(),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user