fix(prompts): correct time label to include date

Amolith created

Change 'Current time:' to 'Current date/time:' in prompt templates to
accurately reflect that currentTime includes both date and time
information.

Change summary

src/agent/prompts/repo.ts | 2 +-
src/agent/prompts/web.ts  | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

Detailed changes

src/agent/prompts/repo.ts 🔗

@@ -25,7 +25,7 @@ Be precise. Only cite files, lines, and commits you actually examined. Reference
 </answering>
 
 <environment>
-Current time: ${ctx.currentTime}
+Current date/time: ${ctx.currentTime}
 ${historyEnv}
 </environment>`;
 }

src/agent/prompts/web.ts 🔗

@@ -16,6 +16,6 @@ Be direct. Only cite URLs you actually accessed. Include version or date when it
 </answering>
 
 <environment>
-Current time: ${ctx.currentTime}
+Current date/time: ${ctx.currentTime}
 </environment>`;
 }