Add schema selection values and ownership
This commit is contained in:
@@ -15,6 +15,13 @@ func TestPreparationRejectsInvalidOutputContractWithPublicError(t *testing.T) {
|
||||
name string
|
||||
contract promptkit.OutputContract
|
||||
}{
|
||||
{
|
||||
name: "inline schema cannot be encoded",
|
||||
contract: promptkit.OutputContract{
|
||||
Format: promptkit.FormatJSON, ValidationMode: promptkit.ValidationJSONSchema,
|
||||
Schema: make(chan int),
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "unsupported format",
|
||||
contract: promptkit.OutputContract{
|
||||
|
||||
Reference in New Issue
Block a user