🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
add comment
garylin2099968cf118190d
diff --git a/metagpt/roles/di/role_zero.py b/metagpt/roles/di/role_zero.pyindex 4810ddb3a..52feddb56 100644--- a/metagpt/roles/di/role_zero.py+++ b/metagpt/roles/di/role_zero.py@@ -298,7 +298,7 @@ class RoleZero(Role):system_msgs=[QUICK_RESPONSE_SYSTEM_PROMPT.format(role_info=self._get_prefix())],)if "command_name" in answer:- # an actual TASK intent misclassified as QUICK, correct it here+ # an actual TASK intent misclassified as QUICK, correct it here, FIXME: a better way is to classify it correctly in the first placeanswer = ""intent_result = "TASK"elif "SEARCH" in intent_result: