@@ -66,7 +66,7 @@ func (e *Engine) runOpenAPIRevamp(tool types.Tool, input string) (*Return, error
6666 } else if ! match {
6767 // Report to the LLM that the operation was not found
6868 return & Return {
69- Result : ptr (fmt .Sprintf ("operation %s not found" , operation )),
69+ Result : ptr (fmt .Sprintf ("ERROR: operation %s not found" , operation )),
7070 }, nil
7171 }
7272 }
@@ -92,7 +92,7 @@ func (e *Engine) runOpenAPIRevamp(tool types.Tool, input string) (*Return, error
9292 if ! found {
9393 // Report to the LLM that the operation was not found
9494 return & Return {
95- Result : ptr (fmt .Sprintf ("operation %s not found" , operation )),
95+ Result : ptr (fmt .Sprintf ("ERROR: operation %s not found" , operation )),
9696 }, nil
9797 }
9898
@@ -115,7 +115,7 @@ func (e *Engine) runOpenAPIRevamp(tool types.Tool, input string) (*Return, error
115115 } else if ! match {
116116 // Report to the LLM that the operation was not found
117117 return & Return {
118- Result : ptr (fmt .Sprintf ("operation %s not found" , operation )),
118+ Result : ptr (fmt .Sprintf ("ERROR: operation %s not found" , operation )),
119119 }, nil
120120 }
121121 }
@@ -140,7 +140,7 @@ func (e *Engine) runOpenAPIRevamp(tool types.Tool, input string) (*Return, error
140140 } else if ! found {
141141 // Report to the LLM that the operation was not found
142142 return & Return {
143- Result : ptr (fmt .Sprintf ("operation %s not found" , operation )),
143+ Result : ptr (fmt .Sprintf ("ERROR: operation %s not found" , operation )),
144144 }, nil
145145 }
146146
0 commit comments