diff --git a/server/api/chat/generate.post.ts b/server/api/chat/generate.post.ts index fbca3b6..242fe6b 100644 --- a/server/api/chat/generate.post.ts +++ b/server/api/chat/generate.post.ts @@ -410,6 +410,7 @@ async function generateResponse( debug: { echo_upstream_body: true, }, + user: userId, } }, experimental_transform: streamTransoforms,