Skip to content

Commit e9cd45f

Browse files
- fixed system prompt not using system role;
1 parent 0eb1997 commit e9cd45f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/coverup/prompt/claude.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ def system_prompt(self) -> T.List[dict]:
1414
return [mk_message(
1515
"You are a code generator that writes complete Python test files. "
1616
"You must respond only with valid Python code enclosed in triple backticks, and nothing else. "
17-
"Do not include explanations or commentary."
17+
"Do not include explanations or commentary.",
18+
role='system'
1819
)]
1920

2021
def initial_prompt(self, segment: CodeSegment) -> T.List[dict]:

0 commit comments

Comments
 (0)