sgns::neoswarm::router::IRouter¶
Abstract interface for prompt routing strategies.
#include <i_router.hpp>
Inherited by sgns::neoswarm::router::RuleBasedRouter
Public Functions¶
| Name | |
|---|---|
| virtual | ~IRouter() =default |
| virtual outcome::result< RouteDecision > | Route(const Task & task) =0 Route a task to the appropriate execution mode and specialist. |
Public Functions Documentation¶
function ~IRouter¶
function Route¶
Route a task to the appropriate execution mode and specialist.
Parameters:
- task Incoming task to route.
Return: RouteDecision on success, Error on failure.
Reimplemented by: sgns::neoswarm::router::RuleBasedRouter::Route
Updated on 2026-07-25 at 22:56:56 +0000