Improve agent prompting and classifier latency; clean up build warnings

This commit is contained in:
2026-09-15 14:25:00 -05:00
parent 66b73b1aac
commit 76d492aa75
69 changed files with 368 additions and 205 deletions
+3 -3
View File
@@ -1647,7 +1647,7 @@ impl AppContext {
// If there are no handlers registered for the given action, then we can return early
// without needing to look at the responder chain at all, since no views will handle it
let Some(mut handlers) = self.typed_actions.remove(&action_type) else {
log::warn!("Dispatched action has no handlers: {:?}", &action);
log::warn!("Dispatched action has no handlers: {action:?}");
return false;
};
@@ -1716,7 +1716,7 @@ impl AppContext {
arg: &dyn Any,
) {
if let Some((name, mut handlers)) = self.global_actions.remove_entry(name) {
log::info!("dispatching global action for {}", &name);
log::info!("dispatching global action for {name}");
self.pending_flushes += 1;
for handler in handlers.iter_mut().rev() {
handler(arg, location, self);
@@ -3716,7 +3716,7 @@ impl AppContext {
if font_family_bytes.is_empty() {
log::warn!(
"Failed to load any fonts for the family {}",
&fallback_family.name
fallback_family.name
);
return;
}