Skip to content

Commit

Permalink
Merge pull request #12630 from AnuGayan/master-AI-API-temp
Browse files Browse the repository at this point in the history
Fix issue in Throttling policy for AI
  • Loading branch information
AnuGayan authored Oct 4, 2024
2 parents 1dd6fbf + f164c09 commit f5ade62
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 f5ade62

Please sign in to comment.