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
Copy file name to clipboardExpand all lines: src/tools/fetch-actor-details.ts
+17-7Lines changed: 17 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -40,13 +40,23 @@ USAGE EXAMPLES:
40
40
content: [{type: 'text',text: `Actor information for '${parsed.actor}' was not found. Please check the Actor ID or name and ensure the Actor exists.`}],
41
41
};
42
42
}
43
-
return{
44
-
content: [
45
-
{type: 'text',text: `# Actor information\n${details.actorCard}`},
eventStr+=`(Flat price: $${event.eventPriceUsd} per event)`;
51
64
}elseif(event.eventTieredPricingUsd){
@@ -58,14 +71,14 @@ function payPerEventPricingToString(pricingPerEvent: ExtendedPricingInfo['pricin
58
71
}
59
72
eventStrings.push(eventStr);
60
73
}
61
-
return`This Actor charges per event as follows:\n${eventStrings.join('\n')}`;
74
+
return`This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for the following events:\n${eventStrings.join('\n')}`;
// If there is no pricing infos entries the Actor is free to use
66
79
// based on https://github.com/apify/apify-core/blob/058044945f242387dde2422b8f1bef395110a1bf/src/packages/actor/src/paid_actors/paid_actors_common.ts#L691
0 commit comments