thread utils respect contextvars (#4074)

* thread utils respect contextvars now

* address pablo comments

* removed tenant id from places it was already being passed

* fix rate limit check and pablo comment
This commit is contained in:
evan-danswer
2025-02-23 16:43:21 -08:00
committed by GitHub
parent 1f2af373e1
commit 4a4e4a6c50
6 changed files with 170 additions and 49 deletions

View File

@ -870,7 +870,6 @@ def stream_chat_message_objects(
for img in img_generation_response
if img.image_data
],
tenant_id=tenant_id,
)
info.ai_message_files.extend(
[