Refactor: move persisting extension to session outside of route (#6685)
This commit is contained in:
@@ -35,7 +35,7 @@ async fn main() -> anyhow::Result<()> {
|
||||
DEFAULT_EXTENSION_TIMEOUT,
|
||||
)
|
||||
.with_args(vec!["mcp", "developer"]);
|
||||
agent.add_extension(config).await?;
|
||||
agent.add_extension(config, &session.id).await?;
|
||||
|
||||
println!("Extensions:");
|
||||
for extension in agent.list_extensions().await {
|
||||
|
||||
Reference in New Issue
Block a user