diff --git a/pkg/engine/openapi.go b/pkg/engine/openapi.go index 0bd5f599..a951bd37 100644 --- a/pkg/engine/openapi.go +++ b/pkg/engine/openapi.go @@ -66,7 +66,7 @@ func (e *Engine) runOpenAPIRevamp(tool types.Tool, input string) (*Return, error } else if !match { // Report to the LLM that the operation was not found return &Return{ - Result: ptr(fmt.Sprintf("operation %s not found", operation)), + Result: ptr(fmt.Sprintf("ERROR: operation %s not found", operation)), }, nil } } @@ -92,7 +92,7 @@ func (e *Engine) runOpenAPIRevamp(tool types.Tool, input string) (*Return, error if !found { // Report to the LLM that the operation was not found return &Return{ - Result: ptr(fmt.Sprintf("operation %s not found", operation)), + Result: ptr(fmt.Sprintf("ERROR: operation %s not found", operation)), }, nil } @@ -115,7 +115,7 @@ func (e *Engine) runOpenAPIRevamp(tool types.Tool, input string) (*Return, error } else if !match { // Report to the LLM that the operation was not found return &Return{ - Result: ptr(fmt.Sprintf("operation %s not found", operation)), + Result: ptr(fmt.Sprintf("ERROR: operation %s not found", operation)), }, nil } } @@ -140,7 +140,7 @@ func (e *Engine) runOpenAPIRevamp(tool types.Tool, input string) (*Return, error } else if !found { // Report to the LLM that the operation was not found return &Return{ - Result: ptr(fmt.Sprintf("operation %s not found", operation)), + Result: ptr(fmt.Sprintf("ERROR: operation %s not found", operation)), }, nil }