Improve agent prompting and classifier latency; clean up build warnings
This commit is contained in:
@@ -1429,7 +1429,7 @@ impl AIExecutionProfilesModel {
|
||||
// We don't want stale client ids in our map. We won't be able to find the backing cloud object when
|
||||
// an edit occurs.
|
||||
pub fn replace_client_id_with_server_id(&mut self, server_id: SyncId, client_id: SyncId) {
|
||||
for (_, sync_id) in self.profile_id_to_sync_id.iter_mut() {
|
||||
for sync_id in self.profile_id_to_sync_id.values_mut() {
|
||||
if *sync_id == client_id {
|
||||
*sync_id = server_id;
|
||||
log::info!("Updated profile id mapping after creating a new execution profile");
|
||||
|
||||
Reference in New Issue
Block a user