From 6c05c6685e1a5ec06ab060683661a63fa0a3eb87 Mon Sep 17 00:00:00 2001 From: dst03106 Date: Fri, 6 Jun 2025 22:51:24 +0900 Subject: [PATCH] fix: use | for multiline in YAML instead of \n for todo content prompts --- pr_agent/settings/pr_reviewer_prompts.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pr_agent/settings/pr_reviewer_prompts.toml b/pr_agent/settings/pr_reviewer_prompts.toml index 417099b7..918cff00 100644 --- a/pr_agent/settings/pr_reviewer_prompts.toml +++ b/pr_agent/settings/pr_reviewer_prompts.toml @@ -75,7 +75,7 @@ class KeyIssuesComponentLink(BaseModel): class TodoSection(BaseModel): relevant_file: str = Field(description="The file containing the TODO comment") line_range: Tuple[int, int] = Field(description="Start and end line numbers of the TODO comment (inclusive). Must be a tuple of two integers, e.g., (7, 7) for a single line or (7, 10) for a range. Do not use list format [7, 7].") - content: str = Field(description="The content of the TODO comment. Only include actual TODO comments within code comments (e.g., lines starting with '#', '//', '/*', '