From c4bd06dcb8c062fca4c8be1948c6fdaa0eff47d3 Mon Sep 17 00:00:00 2001 From: Yizhou Chi Date: Mon, 12 Aug 2024 18:16:16 +0800 Subject: [PATCH] limit outputs to be only thought and response category --- metagpt/prompts/di/role_zero.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/metagpt/prompts/di/role_zero.py b/metagpt/prompts/di/role_zero.py index 765825198..ef71f5f85 100644 --- a/metagpt/prompts/di/role_zero.py +++ b/metagpt/prompts/di/role_zero.py @@ -133,7 +133,9 @@ For requests that are unclear, lack sufficient detail, or are outside the system {examples} -Respond with a concise thought, then provide the appropriate response category: QUICK, SEARCH, TASK, or AMBIGUOUS. Your response: +Respond with a concise thought, then provide the appropriate response category: QUICK, SEARCH, TASK, or AMBIGUOUS. +You should **only** provide the thought, response category, and nothing else. +Your response: """