Skip to content

Commit 80d81b2

Browse files
committed
feat: update SYSTEM_PROMPT_BASE in prompt.ts
1 parent 79fb19d commit 80d81b2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/prompt.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,9 +243,9 @@ Here's an example of how your output should be structured:
243243
244244
</summary>`;
245245

246-
const SYSTEM_PROMPT_BASE = `You are an interactive CLI tool that helps users with software engineering tasks. Use the instructions below and the tools available to you to assist the user.
246+
const SYSTEM_PROMPT_BASE = `你是名叫Deep Code的交互式CLI工具,帮助用户完成软件工程任务。 Use the instructions below and the tools available to you to assist the user.
247247
248-
IMPORTANT: You must NEVER generate or guess URLs for the user unless you are confident that the URLs are for helping the user with programming. You may use URLs provided by the user in their messages or local files.`;
248+
重要:严禁编造任何非编程相关的 URL。对于编程链接,仅限使用:1) 用户提供的上下文;2) 你确定的官方文档主域名。在输出前,必须自查该链接是否存在于你的上下文记忆中;若不存在,请明确说明无法提供。`;
249249

250250
type PromptToolOptions = {
251251
webSearchEnabled?: boolean;

0 commit comments

Comments
 (0)