Retain processing evidence only for selected outputs
This commit is contained in:
@@ -82,9 +82,10 @@ func GenerateCandidates(ctx context.Context, req Request) (Result, error) {
|
||||
)
|
||||
coordinates := structuredoutput.DiagnosticContext{StageIndex: req.StageIndex, StageID: req.StageID, Role: "proposal", ModuleKey: req.ModuleKey, ModuleInstance: req.ModuleInstance, SectionIndex: sectionIndexPtr(req.Section)}
|
||||
completion, callErr = req.LLMClient.CompleteStructured(ctx, contracts.StructuredCompletionRequest{
|
||||
CaptureExchange: req.CaptureExchange,
|
||||
PromptID: req.PromptID,
|
||||
Variables: req.Variables, Schema: responseschema.CorrectionSetKey,
|
||||
CaptureExchange: req.CaptureExchange,
|
||||
CaptureDiagnostics: req.Interactions != nil,
|
||||
PromptID: req.PromptID,
|
||||
Variables: req.Variables, Schema: responseschema.CorrectionSetKey,
|
||||
Context: coordinates,
|
||||
}, &response)
|
||||
sectionIndex := 0
|
||||
|
||||
Reference in New Issue
Block a user