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

Struct stubPolicy

internal/inferexec/orchestrator_test.go:15–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13)
14
15type stubPolicy struct {
16 decision types.PolicyDecision
17 err error
18}
19
20func (s *stubPolicy) Evaluate(ctx context.Context, req types.AIRequest) (types.PolicyDecision, error) {
21 if s.err != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected