Persist provider name and model config in the session (#5419)
This commit is contained in:
@@ -117,7 +117,7 @@ fn get_agent_messages(
|
||||
.map_err(|e| anyhow!("Failed to get sub agent session file path: {}", e))?;
|
||||
|
||||
agent
|
||||
.update_provider(task_config.provider)
|
||||
.update_provider(task_config.provider, &session_id)
|
||||
.await
|
||||
.map_err(|e| anyhow!("Failed to set provider on sub agent: {}", e))?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user