Skip to content

Commit

Permalink
fix(community): Set awaitHandlers to true in upstash ratelimit (#7571)
Browse files Browse the repository at this point in the history
Co-authored-by: Jacob Lee <jacoblee93@gmail.com>
  • Loading branch information
CahidArda and jacoblee93 authored Jan 25, 2025
1 parent 7326a63 commit a71067d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ class UpstashRatelimitHandler extends BaseCallbackHandler {
options.llmOutputTotalTokenField ?? "totalTokens";
this.llmOutputPromptTokenField =
options.llmOutputPromptTokenField ?? "promptTokens";

this.awaitHandlers = true;
}

/**
Expand Down

0 comments on commit a71067d

Please sign in to comment.