Migrate facade tests to the new configuration contracts
This commit is contained in:
@@ -79,10 +79,10 @@ func TestBuiltInRepairGenerationError(t *testing.T) {
|
||||
}
|
||||
req := simpleGenerationRequest()
|
||||
req.CaptureExchange = true
|
||||
req.Validation = &promptkit.OutputContract{
|
||||
req.Validation = &promptkit.OutputContractInput{
|
||||
Format: promptkit.FormatJSON,
|
||||
ValidationMode: promptkit.ValidationJSON,
|
||||
RepairAttempts: 1,
|
||||
RepairAttempts: new(1),
|
||||
}
|
||||
|
||||
result, err := engine.Run(context.Background(), req)
|
||||
|
||||
Reference in New Issue
Block a user