Closed thenamankumar closed 1 week ago
closes: https://linear.app/sourcegraph/issue/CODY-2509/update-prompt-template-for-openctx-context-items
The current prompt template for all the context items is Codebase context from file {filePath{inRepo}:\n{languageID}\n{content}.
Codebase context from file {filePath{inRepo}:\n{languageID}\n{content}
For OpenCtx context items such as Linear issues, it doesn't make sense.
The updated prompt template for OpenCtx items is Content for "{title}" from {displayPath}:\n{content}.
Content for "{title}" from {displayPath}:\n{content}
manually tested
closes: https://linear.app/sourcegraph/issue/CODY-2509/update-prompt-template-for-openctx-context-items
The current prompt template for all the context items is
Codebase context from file {filePath{inRepo}:\n{languageID}\n{content}
.For OpenCtx context items such as Linear issues, it doesn't make sense.
The updated prompt template for OpenCtx items is
Content for "{title}" from {displayPath}:\n{content}
.Test plan
manually tested