We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c441cb4 commit dbf46d1Copy full SHA for dbf46d1
pkg/openapi/run.go
@@ -39,7 +39,7 @@ func Run(operationID, defaultHost, args string, t *openapi3.T, envs []string) (s
39
validationResult, err := gojsonschema.Validate(gojsonschema.NewStringLoader(schemaJSON), gojsonschema.NewStringLoader(args))
40
if err != nil {
41
// We don't return an error here because we want the LLM to be able to maintain control and try again.
42
- return fmt.Sprintf("ERROR: failed to validate arguments. Make sure your arguments are valid JSON. %v", err), false, nil
+ return fmt.Sprintf("ERROR: failed to validate arguments. Make sure your arguments are valid JSON. %v", err), true, nil
43
}
44
45
if !validationResult.Valid() {
0 commit comments