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

Method CreateRequest

internal/inferexec/ledger.go:12–12  ·  view source on GitHub ↗
(ctx context.Context, traceID, requestID string, req types.AIRequest, now time.Time)

Source from the content-addressed store, hash-verified

10// Ledger persists request lifecycle updates for the infer pipeline.
11type Ledger interface {
12 CreateRequest(ctx context.Context, traceID, requestID string, req types.AIRequest, now time.Time)
13 Fail(ctx context.Context, requestID string)
14 UpdatePolicy(ctx context.Context, requestID string, snap []byte, routeReason, backend *string)
15 MarkSuccess(ctx context.Context, requestID, backend, routeReason string)

Callers 1

RunMethod · 0.65

Implementers 2

stubLedgerinternal/inferexec/orchestrator_test.g
serverLedgerinternal/server/orchestrator.go

Calls

no outgoing calls

Tested by

no test coverage detected