Prepare pipelines before source execution
This commit is contained in:
@@ -26,12 +26,12 @@ func TestWalkingSkeletonFixture(t *testing.T) {
|
||||
t.Fatalf("ResolvePipeline() error = %v, want nil", err)
|
||||
}
|
||||
|
||||
output, err := New(walkingSkeletonRegistries(t)).Run(context.Background(), RunInput{
|
||||
Pipeline: resolved,
|
||||
output, err := newPreparedRunner(t, walkingSkeletonRegistries(t)).Run(context.Background(), RunInput{
|
||||
pipeline: resolved,
|
||||
SourceID: "fixture-source",
|
||||
Path: "walking_skeleton_input.json",
|
||||
RawInput: inputBytes,
|
||||
LLMClient: llmClient,
|
||||
llmClient: llmClient,
|
||||
})
|
||||
if err != nil {
|
||||
t.Fatalf("Run() error = %v, want nil", err)
|
||||
|
||||
Reference in New Issue
Block a user