agent: Make ToolWorkingSet
an Entity
(#28757)
Motivation is to emit events when enabled tools change, want to use this in #28755 Release Notes: - N/A
This commit is contained in:
parent
7e1b419243
commit
e26f0a331f
11 changed files with 183 additions and 202 deletions
|
@ -86,7 +86,7 @@ impl ProfileSelector {
|
|||
|
||||
thread_store
|
||||
.update(cx, |this, cx| {
|
||||
this.load_profile_by_id(&profile_id, cx);
|
||||
this.load_profile_by_id(profile_id.clone(), cx);
|
||||
})
|
||||
.log_err();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue