Skip to content

Commit e79ce55

Browse files
committed
fix:调整分析代码输出格式
1 parent 3b27f32 commit e79ce55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export async function saveAnalyzeCodeResult(request: string, respond: string){
112112
const summary = await generateFilenameFromRequest(request);
113113
const mdFileName = `${timestamp}_${summary}.md`;
114114
const mdFilePath = path.join(tmpDir, mdFileName);
115-
const mdContent = respond;
115+
const mdContent = `## 提问:\n\n${request}\n\n## 结果:\n\n${respond}`;
116116
fs.writeFileSync(mdFilePath, mdContent, 'utf-8');
117117
}
118118

0 commit comments

Comments
 (0)