From 5535b42ae27b5ab7ba49f12ee95cb41853256277 Mon Sep 17 00:00:00 2001 From: Woody Date: Mon, 4 May 2026 15:18:14 +0800 Subject: [PATCH] refactor: tighten SubQuestions to 1-3 with Cantonese format hint Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- backend/app/models/decompose.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/app/models/decompose.py b/backend/app/models/decompose.py index b573c4d..d10dcdd 100644 --- a/backend/app/models/decompose.py +++ b/backend/app/models/decompose.py @@ -9,7 +9,7 @@ class SubQuestions(BaseModel): """ questions: list[str] = Field( - description="2-5 simplified sub-questions, each focused on one aspect", + description="1-3 simplified sub-questions, each focused on one aspect並總格成以下格式 '標籤式主題: 具體提問/要求' ", min_length=1, - max_length=5, + max_length=3, )