MCPcopy Index your code
hub / github.com/InferCore/InferCore / Router

Interface Router

internal/interfaces/interfaces.go:10–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8)
9
10type Router interface {
11 SelectRoute(ctx context.Context, req types.AIRequest, state types.RuntimeState) (types.RouteDecision, error)
12}
13
14type PolicyEngine interface {
15 Evaluate(ctx context.Context, req types.AIRequest) (types.PolicyDecision, error)

Callers 2

RunMethod · 0.65
replayCurrentFunction · 0.65

Implementers 2

stubRouterinternal/inferexec/orchestrator_test.g
RuleRouterinternal/router/rule_router.go

Calls

no outgoing calls

Tested by

no test coverage detected