Skip to content

Commit

Permalink
Fix issue in Throttling policy for AI
Browse files Browse the repository at this point in the history
  • Loading branch information
AnuGayan committed Oct 4, 2024
1 parent 0c35ad4 commit f164c09
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f164c09

Please sign in to comment.