Add schema selection values and ownership
This commit is contained in:
5
types.go
5
types.go
@@ -502,8 +502,9 @@ type OutputContract struct {
|
||||
// ValidationMode selects the content check. Use one of the declared
|
||||
// ValidationMode constants.
|
||||
ValidationMode ValidationMode `json:"validation_mode"`
|
||||
// SchemaPath is required when ValidationMode is ValidationJSONSchema and is
|
||||
// ignored by other modes.
|
||||
// Schema supplies an inline JSON Schema. Nil means no inline selection.
|
||||
Schema any `json:"schema,omitempty"`
|
||||
// SchemaPath identifies a schema under the applicable configured root.
|
||||
SchemaPath string `json:"schema_path"`
|
||||
// RepairAttempts is an additional generation-call budget from zero through
|
||||
// three. Zero is single-pass. A positive value is valid only with basic,
|
||||
|
||||
Reference in New Issue
Block a user