Complete pipeline preflight verification
This commit is contained in:
@@ -69,6 +69,11 @@ prompts:
|
||||
resolved.Chunk.LLMProfile = "missing"
|
||||
if _, err := DiscoverTargets(context.Background(), resolved, catalog, engine); !errors.Is(err, promptkit.ErrProfileNotFound) {
|
||||
t.Fatalf("missing profile cause = %v", err)
|
||||
} else {
|
||||
var targetErr *TargetError
|
||||
if !errors.As(err, &targetErr) || targetErr.Scope.Module != "chunk" {
|
||||
t.Fatalf("missing profile binding scope = %v", err)
|
||||
}
|
||||
}
|
||||
resolved.Chunk.LLMProfile = ""
|
||||
resolved.Chunk.Module = "dynamic"
|
||||
|
||||
Reference in New Issue
Block a user