From 5c3dfe7af9a68f9ab0844d652247dba23a753e61 Mon Sep 17 00:00:00 2001 From: Chloe Mouret Date: Tue, 1 Aug 2023 18:48:05 +0200 Subject: [PATCH] fix --- backend/core/utils/processors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/core/utils/processors.py b/backend/core/utils/processors.py index ecb035ca4..029dc535f 100644 --- a/backend/core/utils/processors.py +++ b/backend/core/utils/processors.py @@ -73,7 +73,7 @@ async def filter_file( file=file, enable_summarization=enable_summarization, brain_id=brain_id, - openai_api_key=openai_api_key, + user_openai_api_key=openai_api_key, ) return create_response( f"✅ {file.file.filename} has been uploaded to brain {brain_id}.", # pyright: ignore reportPrivateUsage=none