Prepare normalized processing plans and fixed chunks
This commit is contained in:
@@ -17,7 +17,7 @@ import (
|
||||
|
||||
func executePipeline(ctx context.Context, loaded *processInputs, prepared *preparedProcess, normalized *schema.Transcript, warn func(error), progress func(string)) (processResult, error) {
|
||||
cfg := &loaded.Configuration.Config.Application
|
||||
specs := prepared.Prepared.Specs
|
||||
specs := prepared.Prepared.Plan.Specs
|
||||
debug := prepared.Prepared.Debug
|
||||
evidence := runner.EvidenceSelection{Reports: cfg.Reporting.Enabled, Debug: debug != nil}
|
||||
var observer *llm.ObservationCollector
|
||||
@@ -62,7 +62,7 @@ func executePipeline(ctx context.Context, loaded *processInputs, prepared *prepa
|
||||
interactions = writer
|
||||
}
|
||||
output, runErr := runner.New(modules.NewFactory()).Run(ctx, runner.RunInput{
|
||||
Config: cfg, Transcript: normalized, ModuleSpecs: specs,
|
||||
Sections: prepared.Prepared.Plan.Sections, Transcript: normalized, ModuleSpecs: specs,
|
||||
Interactions: interactions, Evidence: &evidence, Progress: runnerProgress(progress),
|
||||
})
|
||||
if debug != nil {
|
||||
|
||||
Reference in New Issue
Block a user