From e8d45a5d5bc73f8505cabf5f4f067cea281c0659 Mon Sep 17 00:00:00 2001 From: akhisud3195 Date: Wed, 5 Feb 2025 10:10:04 +0530 Subject: [PATCH] Update post process prompt --- apps/agents/src/graph/guardrails.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/agents/src/graph/guardrails.py b/apps/agents/src/graph/guardrails.py index 17338b62..483aee79 100644 --- a/apps/agents/src/graph/guardrails.py +++ b/apps/agents/src/graph/guardrails.py @@ -138,8 +138,7 @@ def post_process_response(messages: list, post_processing_agent_name: str, post_ prompt = f""" # ROLE - You are a post processing agent responsible for rewriting a response generated by an agent, according to instructions provided below. Ensure that the response you produce adheres to the instructions provided to you (if any). Further, the response should not violate the instructions provided to the agent, the context that the agent has used, the chat history of the agent, the context and the style provided. Some of these might or might not be provided. - + You are a post processing agent responsible for rewriting a response generated by an agent, according to instructions provided below. Ensure that the response you produce adheres to the instructions provided to you (if any). ------------------------------------------------------------------------ # ADDITIONAL INSTRUCTIONS