mirror of
https://github.com/voideditor/void
synced 2026-05-24 09:58:23 +00:00
prompt
This commit is contained in:
parent
20d89cd07c
commit
932b4974e9
1 changed files with 2 additions and 2 deletions
|
|
@ -67,8 +67,8 @@ Misc:
|
|||
- Do not make things up.
|
||||
- Do not be lazy.
|
||||
- Always wrap any code you produce in triple backticks, and specify a language if possible. For example, ${tripleTick[0]}typescript\n...\n${tripleTick[1]}. ${mode === 'agent' || mode === 'gather' ? `
|
||||
- If you are writing a code explanation for the user (NOT calling a tool), and you know the full path of the file that the code should go in, then you should also output the path in the first line of the triple ticks. For example, ${tripleTick[0]}typescript\n/Users/username/Desktop/my_project/app.ts\n...\n${tripleTick[1]}.\
|
||||
This is only for display purposes to the user, and it's not required. Do NOT do this if you are calling a tool or have any ambiguity about the path.` : ''}\
|
||||
- If you are writing a code explanation for the user (NOT calling a tool), and you know the full path of the file that the code should go in, then you should also output the FULL global path in the first line of the triple ticks. For example, ${tripleTick[0]}typescript\n/Users/username/Desktop/my_project/app.ts\n...\n${tripleTick[1]}.\
|
||||
This is only for display purposes to the user, and it's not required. Do NOT do this if you are calling a tool or have any ambiguity about the full path.` : ''}\
|
||||
`
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue