MCPcopy
hub / github.com/google/ax / logOutputs

Function logOutputs

internal/controller/executor/executor.go:197–205  ·  view source on GitHub ↗
(ctx context.Context, el EventLog, execID string, start *proto.AgentStart, outputs []*proto.Message)

Source from the content-addressed store, hash-verified

195}
196
197func logOutputs(ctx context.Context, el EventLog, execID string, start *proto.AgentStart, outputs []*proto.Message) error {
198 return el.AppendExec(ctx, &proto.ExecutionEvent{
199 Timestamp: timestamppb.Now(),
200 ExecId: execID,
201 AgentId: start.AgentId,
202 Outputs: outputs,
203 State: proto.State_STATE_PENDING,
204 })
205}

Callers 1

execMethod · 0.85

Calls 1

AppendExecMethod · 0.65

Tested by

no test coverage detected