diff --git a/features/apimgt/org.wso2.carbon.apimgt.core.feature/src/main/resources/policy_templates/throttle_policy_template_ai_sub.xml b/features/apimgt/org.wso2.carbon.apimgt.core.feature/src/main/resources/policy_templates/throttle_policy_template_ai_sub.xml index 12abb66728d8..21b91e69ab08 100644 --- a/features/apimgt/org.wso2.carbon.apimgt.core.feature/src/main/resources/policy_templates/throttle_policy_template_ai_sub.xml +++ b/features/apimgt/org.wso2.carbon.apimgt.core.feature/src/main/resources/policy_templates/throttle_policy_template_ai_sub.xml @@ -25,7 +25,7 @@ #if($quotaPolicy.getAiApiQuota().getTotalTokenCount() != 0) ifThenElse((sum(cast(map:get(propertiesMap,'TOTAL_TOKENS'),'long')) >= $quotaPolicy.getAiApiQuota().getTotalTokenCount()L), true, #end - false) + false #if($quotaPolicy.getAiApiQuota().getPromptTokenCount() != 0) ) #end