We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4360ab commit 9114e64Copy full SHA for 9114e64
src/core/tools/WebSearchTool.ts
@@ -58,12 +58,18 @@ export class WebSearchTool extends BaseTool<"web_search"> {
58
const { CloudService } = await import("@roo-code/cloud")
59
60
if (!CloudService.hasInstance()) {
61
+ task.consecutiveMistakeCount++
62
+ task.recordToolError("web_search")
63
+ task.didToolFailInCurrentTurn = true
64
pushToolResult(formatResponse.toolError("Cloud service not available"))
65
return
66
}
67
68
const cloudAPI = CloudService.instance.cloudAPI
69
if (!cloudAPI) {
70
71
72
73
pushToolResult(formatResponse.toolError("Cloud API not available"))
74
75
0 commit comments