Add reusable PromptKit request flags
This commit is contained in:
@@ -72,7 +72,7 @@ func TestSmokeAggregateCoordinatesConcreteRequestsAndRetainsErrors(t *testing.T)
|
||||
app := newPromptTestApp(t, Command(suite))
|
||||
var output bytes.Buffer
|
||||
outcome := app.Execute(context.Background(), []string{
|
||||
"promptkit", "test", "all", "--model=base-model", "--temperature=0.25", "--transient-retries=3",
|
||||
"promptkit", "test", "all", "--llm-model=base-model", "--llm-temperature=0.25", "--llm-transient-retries=3",
|
||||
}, commandkit.Streams{Out: &output, Err: io.Discard})
|
||||
if outcome.Kind != commandkit.OutcomeOperational || !errors.Is(outcome.Cause, nativeErr) {
|
||||
t.Fatalf("aggregate outcome = %#v", outcome)
|
||||
|
||||
Reference in New Issue
Block a user