When pressing “Fix in Composer”, it always sends this message:
For the code present, we get this error:
`<error>`
How can I resolve this? If you propose a fix, please make it concise.
Is there a way to customize this message? In my case, the fact that it says “If you propose a fix, please make it concise.” sometimes causes undesirable fixes.
For example, the AI will decide to do an inline cast of float
to int
to fix the fact it typed a class file field incorrectly. The proper solution would be to directly modify the incorrectly typed class field from float
to int
.
I would love to be able to customize this message to try what prompt suits my needs the best. In this case, I would try change the prompt to something like “Please attempt to fix the root issue rather then simple workarounds.”