fix: Make datetime info message more explicit to prevent LLM confusion about current year (#6101)

Co-authored-by: tlongwell-block <109685178+tlongwell-block@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2025-12-14 14:29:20 -05:00
committed by GitHub
parent a131b08817
commit 108ffad4a4
+1 -1
View File
@@ -1247,7 +1247,7 @@ impl ExtensionManager {
pub async fn collect_moim(&self) -> Option<String> {
let timestamp = chrono::Local::now().format("%Y-%m-%d %H:%M:%S").to_string();
let mut content = format!("<info-msg>\nDatetime: {}\n", timestamp);
let mut content = format!("<info-msg>\nIt is currently {}\n", timestamp);
let extensions = self.extensions.lock().await;
for (name, extension) in extensions.iter() {