update
This commit is contained in:
@@ -141,7 +141,7 @@ func validateContractInput(input contractInput) error {
|
||||
return fmt.Errorf("output_schema.fields 必须是数组")
|
||||
}
|
||||
outputKeys := map[string]bool{}
|
||||
allowedSources := map[string]bool{"input": true, "derived": true, "knowledge": true, "form": true, "system": true}
|
||||
allowedSources := map[string]bool{"input": true, "derived": true, "form": true, "system": true}
|
||||
for index, raw := range fields {
|
||||
field, ok := raw.(map[string]interface{})
|
||||
if !ok {
|
||||
|
||||
Reference in New Issue
Block a user