-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: ♻️ enhance ask more context logic (#22)
- Loading branch information
1 parent
d5c8e27
commit e80a61a
Showing
30 changed files
with
589 additions
and
470 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,7 @@ | ||
If for generating your response, you need full code implementation not just summary of code in the context code blocks, consider following rules: | ||
- Don't **MODIFY** code blocks in the existing context when code blocks are not complete and you have summary of code in the content of code block and you need full code block content for generating the response. | ||
- If you need full code content and file for a code block in the context and currently context has summary of code, **Ask** the user to add the full code content for code block in the context to generate a response and **stop** the generating the response and wait for user files. | ||
- Include the required file paths in a `markdown code block` using the format below: | ||
If for generating your response and changing in a file you need full code definition and currently in code context there is no `definition` section for corresponding file, consider following rules: | ||
- Don't **MODIFY** code blocks in the existing context and `Stop` generating response. | ||
- Show the list of `required files` in the bellow format, don't forget to show this it is very IMPORTANT and if you miss this your response is INCORRECT: | ||
|
||
Required Files for Context: | ||
``` | ||
- relative_file_path1 | ||
- relative_file_path2 | ||
``` | ||
Required files for Context: | ||
- test/testFile1.cs | ||
- test/testFile2.cs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.