Skip to content

Commit

Permalink
change(prompt-hydration): disable wrapping of hydrateWithOpenTabs
Browse files Browse the repository at this point in the history
- This ensures that the results returned by `hydrateWithOpenTabs`
  do not contain any unnecessary parentheses.
  • Loading branch information
ichim-david committed Feb 1, 2025
1 parent 273c38f commit 6e45741
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vscode/src/prompts/prompt-hydration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ async function hydrateWithOpenTabs(promptText: PromptString): Promise<[PromptStr
return [
promptText.replaceAll(
PROMPT_EDITOR_OPEN_TABS_PLACEHOLDER,
selectedCodePromptWithExtraFiles(firstOpenTab, otherOpenTabs)
selectedCodePromptWithExtraFiles(firstOpenTab, otherOpenTabs, false)
),
[firstOpenTab, ...otherOpenTabs],
]
Expand Down

0 comments on commit 6e45741

Please sign in to comment.