Skip to content
Discussion options

You must be logged in to vote

@rovnyart Could you please try adding await langfuse.flushAsync() at the end of your endpoint execution? You may also use NextJS's waitUntil to not block the HTTP response: https://vercel.com/changelog/waituntil-is-now-available-for-vercel-functions

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@rovnyart
Comment options

Answer selected by hassiebp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment