mirror of
https://github.com/github/codeql.git
synced 2026-06-03 04:40:14 +02:00
Make it clearer to codex which parts of the prompt are code by using ``
This commit is contained in:
@@ -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) + "`|"
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user