You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`This Actor (${actorName}) is an MCP server and cannot be accessed using a Skyfire token. To use this Actor, please provide a valid Apify token instead of a Skyfire token.`,
returnbuildMCPResponse([`Failed to connect to MCP server ${mcpServerUrl}`]);
502
+
returnbuildMCPResponse([`Failed to connect to MCP server ${mcpServerUrl}`],true);
503
503
}
504
504
505
505
constresult=awaitclient.callTool({
@@ -519,7 +519,7 @@ You can search for available Actors using the tool: ${HelperTools.STORE_SEARCH}.
519
519
if(!actor){
520
520
returnbuildMCPResponse([`Actor '${actorName}' was not found.
521
521
Please verify Actor ID or name format (e.g., "username/name" like "apify/rag-web-browser") and ensure that the Actor exists.
522
-
You can search for available Actors using the tool: ${HelperTools.STORE_SEARCH}.`]);
522
+
You can search for available Actors using the tool: ${HelperTools.STORE_SEARCH}.`],true);
523
523
}
524
524
525
525
if(!actor.ajvValidate(input)){
@@ -556,7 +556,7 @@ You can search for available Actors using the tool: ${HelperTools.STORE_SEARCH}.
556
556
logHttpError(error,'Failed to call Actor',{ actorName, performStep });
557
557
returnbuildMCPResponse([`Failed to call Actor '${actorName}': ${errorinstanceofError ? error.message : String(error)}.
558
558
Please verify the Actor name, input parameters, and ensure the Actor exists.
559
-
You can search for available Actors using the tool: ${HelperTools.STORE_SEARCH}, or get Actor details using: ${HelperTools.ACTOR_GET_DETAILS}.`]);
559
+
You can search for available Actors using the tool: ${HelperTools.STORE_SEARCH}, or get Actor details using: ${HelperTools.ACTOR_GET_DETAILS}.`],true);
returnbuildMCPResponse([`The scraping Actor (${RAG_WEB_BROWSER}) did not return any output for the URL: ${parsed.url}. Please check the Actor run for more details: ${run.id}`]);
84
+
returnbuildMCPResponse([`The scraping Actor (${RAG_WEB_BROWSER}) did not return any output for the URL: ${parsed.url}. Please check the Actor run for more details: ${run.id}`],true);
returnbuildMCPResponse([`The scraping Actor (${RAG_WEB_BROWSER}) returned an HTTP status ${firstItem.crawl.httpStatusCode} (${firstItem.crawl.httpStatusMessage}) for the URL: ${parsed.url}. Please check the Actor run for more details: ${run.id}`]);
89
+
returnbuildMCPResponse([`The scraping Actor (${RAG_WEB_BROWSER}) returned an HTTP status ${firstItem.crawl.httpStatusCode} (${firstItem.crawl.httpStatusMessage}) for the URL: ${parsed.url}. Please check the Actor run for more details: ${run.id}`],true);
90
90
}
91
91
92
92
if(!firstItem.html){
93
-
returnbuildMCPResponse([`The scraping Actor (${RAG_WEB_BROWSER}) did not return any HTML content for the URL: ${parsed.url}. Please check the Actor run for more details: ${run.id}`]);
93
+
returnbuildMCPResponse([`The scraping Actor (${RAG_WEB_BROWSER}) did not return any HTML content for the URL: ${parsed.url}. Please check the Actor run for more details: ${run.id}`],true);
0 commit comments