add comment

This commit is contained in:
garylin2099 2024-08-20 11:25:18 +08:00
parent f4cea0b985
commit 968cf11819

View file

@ -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 place
answer = ""
intent_result = "TASK"
elif "SEARCH" in intent_result: