MCPcopy Create free account
hub / github.com/InferCore/InferCore / Evaluate

Method Evaluate

internal/inferexec/orchestrator_test.go:20–25  ·  view source on GitHub ↗
(ctx context.Context, req types.AIRequest)

Source from the content-addressed store, hash-verified

18}
19
20func (s *stubPolicy) Evaluate(ctx context.Context, req types.AIRequest) (types.PolicyDecision, error) {
21 if s.err != nil {
22 return types.PolicyDecision{}, s.err
23 }
24 return s.decision, nil
25}
26
27type stubRouter struct {
28 primary types.RouteDecision

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected