chore: refactor read-write lock on agent (#2225)

Co-authored-by: Alice Hau <ahau@squareup.com>
This commit is contained in:
Salman Mohammed
2025-04-23 23:46:22 -03:00
committed by GitHub
parent 85e2ee3984
commit 199fa6adbc
24 changed files with 409 additions and 237 deletions
+2 -1
View File
@@ -15,7 +15,8 @@ async fn main() {
let provider = Arc::new(DatabricksProvider::default());
// Setup an agent with the developer extension
let mut agent = Agent::new(provider);
let agent = Agent::new();
let _ = agent.update_provider(provider).await;
let config = ExtensionConfig::stdio(
"developer",