Migrate facade tests to the new configuration contracts
This commit is contained in:
@@ -73,7 +73,7 @@ func TestObservedNestedErrorsKeepTheParentOperation(t *testing.T) {
|
||||
}
|
||||
return nil, childErr
|
||||
})))
|
||||
req.Validation = &promptkit.OutputContract{Format: promptkit.FormatJSON, ValidationMode: promptkit.ValidationJSON, RepairAttempts: 1}
|
||||
req.Validation = &promptkit.OutputContractInput{Format: promptkit.FormatJSON, ValidationMode: promptkit.ValidationJSON, RepairAttempts: new(1)}
|
||||
}
|
||||
var err error
|
||||
if mode == "prepared" {
|
||||
|
||||
Reference in New Issue
Block a user