summaryrefslogtreecommitdiff
path: root/packages/core/src/utils/environmentContext.ts
diff options
context:
space:
mode:
authorTommaso Sciortino <[email protected]>2025-08-19 15:31:02 -0700
committerGitHub <[email protected]>2025-08-19 22:31:02 +0000
commit0cc2a1e7ef904294fff982a4d75bf098b5b262f7 (patch)
tree9508c375a0bc9e5e8189b4aaa107819b1033b16e /packages/core/src/utils/environmentContext.ts
parent1244ec6954f5f46d51c64939fdd3648476047620 (diff)
Remove unnecessary promiuse usage. (#6585)
Diffstat (limited to 'packages/core/src/utils/environmentContext.ts')
-rw-r--r--packages/core/src/utils/environmentContext.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/core/src/utils/environmentContext.ts b/packages/core/src/utils/environmentContext.ts
index 96bd60d9..a06c1800 100644
--- a/packages/core/src/utils/environmentContext.ts
+++ b/packages/core/src/utils/environmentContext.ts
@@ -68,7 +68,7 @@ ${directoryContext}
`.trim();
const initialParts: Part[] = [{ text: context }];
- const toolRegistry = await config.getToolRegistry();
+ const toolRegistry = config.getToolRegistry();
// Add full file context if the flag is set
if (config.getFullContext()) {