From 8a51bcc3969d5714d92dfee97e94d3129b1b2454 Mon Sep 17 00:00:00 2001 From: Amolith Date: Sun, 8 Feb 2026 10:45:38 -0700 Subject: [PATCH] fix(prompts): correct time label to include date Change 'Current time:' to 'Current date/time:' in prompt templates to accurately reflect that currentTime includes both date and time information. --- src/agent/prompts/repo.ts | 2 +- src/agent/prompts/web.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/agent/prompts/repo.ts b/src/agent/prompts/repo.ts index 796fddb862903b3ba1188680b21cf1ac2f9a7986..31e2d335196ae9f646b509d3779e1a1328e43af4 100644 --- a/src/agent/prompts/repo.ts +++ b/src/agent/prompts/repo.ts @@ -25,7 +25,7 @@ Be precise. Only cite files, lines, and commits you actually examined. Reference -Current time: ${ctx.currentTime} +Current date/time: ${ctx.currentTime} ${historyEnv} `; } diff --git a/src/agent/prompts/web.ts b/src/agent/prompts/web.ts index ea53458f49b1a7ca3e82987eb8d1d095c5940bba..e5893307d343afe81e4e8cbc775c4adc0a06cc25 100644 --- a/src/agent/prompts/web.ts +++ b/src/agent/prompts/web.ts @@ -16,6 +16,6 @@ Be direct. Only cite URLs you actually accessed. Include version or date when it -Current time: ${ctx.currentTime} +Current date/time: ${ctx.currentTime} `; }