@@ -66,7 +66,7 @@ func (e *Engine) runOpenAPIRevamp(tool types.Tool, input string) (*Return, error
66
66
} else if ! match {
67
67
// Report to the LLM that the operation was not found
68
68
return & Return {
69
- Result : ptr (fmt .Sprintf ("operation %s not found" , operation )),
69
+ Result : ptr (fmt .Sprintf ("ERROR: operation %s not found" , operation )),
70
70
}, nil
71
71
}
72
72
}
@@ -92,7 +92,7 @@ func (e *Engine) runOpenAPIRevamp(tool types.Tool, input string) (*Return, error
92
92
if ! found {
93
93
// Report to the LLM that the operation was not found
94
94
return & Return {
95
- Result : ptr (fmt .Sprintf ("operation %s not found" , operation )),
95
+ Result : ptr (fmt .Sprintf ("ERROR: operation %s not found" , operation )),
96
96
}, nil
97
97
}
98
98
@@ -115,7 +115,7 @@ func (e *Engine) runOpenAPIRevamp(tool types.Tool, input string) (*Return, error
115
115
} else if ! match {
116
116
// Report to the LLM that the operation was not found
117
117
return & Return {
118
- Result : ptr (fmt .Sprintf ("operation %s not found" , operation )),
118
+ Result : ptr (fmt .Sprintf ("ERROR: operation %s not found" , operation )),
119
119
}, nil
120
120
}
121
121
}
@@ -140,7 +140,7 @@ func (e *Engine) runOpenAPIRevamp(tool types.Tool, input string) (*Return, error
140
140
} else if ! found {
141
141
// Report to the LLM that the operation was not found
142
142
return & Return {
143
- Result : ptr (fmt .Sprintf ("operation %s not found" , operation )),
143
+ Result : ptr (fmt .Sprintf ("ERROR: operation %s not found" , operation )),
144
144
}, nil
145
145
}
146
146
0 commit comments