File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -448,12 +448,10 @@ EXAMPLES:
448448 }
449449
450450 /**
451- * In Skyfire mode, we check for the presence of `skyfire-pay-id`.
452- * If it is missing, we return instructions to the LLM on how to create it and pass it to the tool.
453- */
454- if ( apifyMcpServer . options . skyfireMode
455- && args [ 'skyfire-pay-id' ] === undefined
456- ) {
451+ * In Skyfire mode, we check for the presence of `skyfire-pay-id`.
452+ * If it is missing, we return instructions to the LLM on how to create it and pass it to the tool.
453+ */
454+ if ( apifyMcpServer . options . skyfireMode && args [ 'skyfire-pay-id' ] === undefined ) {
457455 return {
458456 content : [ {
459457 type : 'text' ,
@@ -463,8 +461,8 @@ EXAMPLES:
463461 }
464462
465463 /**
466- * Create Apify token, for Skyfire mode use `skyfire-pay-id` and for normal mode use `apifyToken`.
467- */
464+ * Create Apify token, for Skyfire mode use `skyfire-pay-id` and for normal mode use `apifyToken`.
465+ */
468466 const apifyClient = apifyMcpServer . options . skyfireMode && typeof args [ 'skyfire-pay-id' ] === 'string'
469467 ? new ApifyClient ( { skyfirePayId : args [ 'skyfire-pay-id' ] } )
470468 : new ApifyClient ( { token : apifyToken } ) ;
You can’t perform that action at this time.
0 commit comments