Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to retrieve files at the specified path after parsing the XML. #10

Open
priyavadan-ace opened this issue Dec 27, 2024 · 0 comments

Comments

@priyavadan-ace
Copy link

priyavadan-ace commented Dec 27, 2024

I have used this prompt for generate xml

You are an expert software engineer.

You are tasked with following my instructions.

Use the included project instructions as a general guide.

You will respond with 2 sections: A summary section and an XML section.

Here are some notes on how you should respond in the summary section:

Provide a brief overall summary
Provide a 1-sentence summary for each file changed and why.
Provide a 1-sentence summary for each file deleted and why.
Format this section as markdown.
Here are some notes on how you should respond in the XML section:

Respond with the XML and nothing else
Include all of the changed files
Specify each file operation with CREATE, UPDATE, or DELETE
If it is a CREATE or UPDATE include the full file code. Do not get lazy.
Each file should include a brief change summary.
Include the full file path
I am going to copy/paste that entire XML section into a parser to automatically apply the changes you made, so put the XML block inside a markdown codeblock.
Make sure to enclose the code with ![CDATA[CODE HERE]]
Here is how you should structure the XML:

<code_changes> <changed_files> <file_summary>BRIEF CHANGE SUMMARY HERE</file_summary> <file_operation>FILE OPERATION HERE</file_operation> <file_path>FILE PATH HERE</file_path> <file_code></file_code> REMAINING FILES HERE </changed_files> </code_changes>

So the XML section will be:

XML HERE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant