Files
Aether/apps/aether-gateway/src/ai_serving/planner/state/executor.rs
T

25 lines
585 B
Rust

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
}
}