Make it clearer to codex which parts of the prompt are code by using ``

This commit is contained in:
tiferet
2022-11-30 16:17:52 -08:00
parent 7eb04f8c32
commit 413db2b15e

View File

@@ -158,7 +158,7 @@ class CodexPrompt extends EndpointFeature, TCodexPrompt {
*/
private string getCurrentEndpointPrompt(DataFlow::Node endpoint) {
result =
"|" + this.tokenizeEndpoint(endpoint) + "|" + this.tokenizeNeighborhood(endpoint, 2) + "|"
"|`" + this.tokenizeEndpoint(endpoint) + "`|`" + this.tokenizeNeighborhood(endpoint, 2) + "`|"
}
/**