refactor ai serving modules and crates

This commit is contained in:
fawney19
2026-05-02 13:23:54 +08:00
parent 4fc7cecf30
commit c130d0e2c9
309 changed files with 21549 additions and 14265 deletions
@@ -0,0 +1,24 @@
use aether_contracts::ExecutionPlan;
use serde_json::Value;
use super::PlannerAppState;
impl<'a> PlannerAppState<'a> {
pub(crate) async fn mark_unused_local_candidate_items<T, FPlan, FContext>(
self,
remaining: Vec<T>,
plan: FPlan,
report_context: FContext,
) where
FPlan: Fn(&T) -> &ExecutionPlan,
FContext: Fn(&T) -> Option<&Value>,
{
crate::executor::mark_unused_local_candidate_items(
self.app(),
remaining,
plan,
report_context,
)
.await
}
}