pub fn accept_application<T: Config>(application_id: u32) -> DispatchResult
Accepts an agent application and executes it if it’s still open, fails otherwise.