Skip to content

Commit 3ca9849

Browse files
committed
fix(subtask): 调整prompt 解决 生成代码的时候,文件名称格式不对
1 parent d6d8395 commit 3ca9849

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/app/pkgs/prompt/subtask_basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def setpGenCode(requirementID, pseudocode, feature, specification, serviceStruct
9595
FILEPATH is a file name that contains the file extension
9696
LANG is the markup code block language for the code's language
9797
CODE_EXPLANATION explain the code you provide in detail, this explain should be independent. For example: specific variable names and types to be added and modified, method names to be added or modified, parameter names, and so on
98-
CODE is the code:
98+
CODE is the code(filepath, code explanation, and code must be output in the following format):
9999
100100
filepath:FILEPATH
101101
code explanation: CODE_EXPLANATION

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy