Skip to content

Commit

Permalink
fix: set awaitHandlers to true in upstash ratelimit
Browse files Browse the repository at this point in the history
  • Loading branch information
CahidArda committed Jan 23, 2025
1 parent 5bdbb75 commit c27fd5f
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 c27fd5f

Please sign in to comment.