From df5d33302e45b6c27be78644176279f77d5d7884 Mon Sep 17 00:00:00 2001 From: harini-venkataraman <115449948+harini-venkataraman@users.noreply.github.com> Date: Tue, 27 Aug 2024 16:10:59 +0530 Subject: [PATCH] [FIX] Fixing variable replacement after single pass execution (#620) Fixing variable replacement after single pass Co-authored-by: Hari John Kuriakose --- .../prompt_studio/prompt_studio_core/prompt_variable_service.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/prompt_studio/prompt_studio_core/prompt_variable_service.py b/backend/prompt_studio/prompt_studio_core/prompt_variable_service.py index cc028aa78..d098c01fb 100644 --- a/backend/prompt_studio/prompt_studio_core/prompt_variable_service.py +++ b/backend/prompt_studio/prompt_studio_core/prompt_variable_service.py @@ -32,6 +32,7 @@ def fetch_variable_outputs(variable: str, doc_id: str, tool_id: str) -> Any: document_manager=doc_id, tool_id=variable_prompt.tool_id, profile_manager=variable_prompt.profile_manager, + is_single_pass_extract=False, ) except PromptStudioOutputManager.DoesNotExist: raise PromptNotRun(