Skip to content

Commit f393b69

Browse files
committed
改进提示词
1 parent 17b4e3d commit f393b69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/deepseekApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ ${cvbContent}
6565
const stream = await openai.chat.completions.create({
6666
model: 'deepseek-chat', // 使用 DeepSeek 的模型
6767
messages: [
68-
{ role: 'system', content: 'You are a helpful assistant.' },
68+
{ role: 'system', content: '你是一个代码重构工具,你只会按照要求输出cvb格式的结果,不会有思考过程和附加内容。' },
6969
{ role: 'user', content: requestContent },
7070
],
7171
stream: true, // 启用流式模式

0 commit comments

Comments
 (0)