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

Method UpdatePolicy

internal/server/orchestrator.go:23–25  ·  view source on GitHub ↗
(ctx context.Context, requestID string, snap []byte, routeReason, backend *string)

Source from the content-addressed store, hash-verified

21}
22
23func (l serverLedger) UpdatePolicy(ctx context.Context, requestID string, snap []byte, routeReason, backend *string) {
24 l.s.updateLedgerPolicy(ctx, requestID, snap, routeReason, backend)
25}
26
27func (l serverLedger) MarkSuccess(ctx context.Context, requestID, backend, routeReason string) {
28 l.s.markLedgerSuccess(ctx, requestID, backend, routeReason)

Callers

nothing calls this directly

Calls 1

updateLedgerPolicyMethod · 0.80

Tested by

no test coverage detected