Skip to content

Commit 2142c7a

Browse files
committed
fix: comments
1 parent 0bf4188 commit 2142c7a

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

src/tools/actor.ts

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff 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 });

0 commit comments

Comments
 (0)