Merge pull request #4121 from continuedev/dallin/file-links
Fix: Codebase retrieval context item file links
This commit is contained in:
commit
64b97b03bd
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ export async function retrieveContextItemsFromEmbeddings(
|
|||
}
|
||||
|
||||
return {
|
||||
name: `${baseName} (${r.startLine}-${r.endLine})`,
|
||||
name: `${baseName} (${r.startLine + 1}-${r.endLine + 1})`,
|
||||
description: last2Parts,
|
||||
content: `\`\`\`${relativePathOrBasename}\n${r.content}\n\`\`\``,
|
||||
uri: {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue