Show progress for each preflight profile
This commit is contained in:
@@ -34,7 +34,9 @@ func runPreflight(inv commandkit.Invocation, input processInput) commandkit.Outc
|
||||
return commandkit.Success()
|
||||
}
|
||||
_ = reporter.Progress("Checking structured output for selected profiles.")
|
||||
results, err := llm.VerifyStructuredOutput(inv.Context, loaded.Runtime.Engine, prepared.Plan.Profiles)
|
||||
results, err := llm.VerifyStructuredOutput(inv.Context, loaded.Runtime.Engine, prepared.Plan.Profiles, func(id string) {
|
||||
_ = reporter.Progress(fmt.Sprintf("Checking structured output for profile %q.", id))
|
||||
})
|
||||
if err != nil {
|
||||
details := make([]commandkit.Detail, 0, len(results))
|
||||
for _, result := range results {
|
||||
|
||||
Reference in New Issue
Block a user