chore: refactor read-write lock on agent (#2225)
Co-authored-by: Alice Hau <ahau@squareup.com>
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user