Skip to content

Commit 9137643

Browse files
committed
fix: passthrough user id in header to aldebaran
1 parent ac01195 commit 9137643

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/app/rag/chat/chat_flow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1374,7 +1374,7 @@ def _generate_client_visit_guide(self) -> Generator[ChatEvent | str, None, Tuple
13741374
"content": self.user_question,
13751375
"tenant_id": settings.ALDEBARAN_TENANT_ID,
13761376
}
1377-
response = requests.post(aldebaran_cvgg_url, json=payload, timeout=300, headers={"cookie": self.incoming_cookie})
1377+
response = requests.post(aldebaran_cvgg_url, json=payload, timeout=300, headers={"cookie": self.incoming_cookie, "user_id": self.user.id})
13781378
data = None
13791379
error_message = None
13801380
try:

0 commit comments

Comments
 (0)