This commit is contained in:
2025-10-09 01:12:08 +01:00
parent 3e83f31c27
commit edc7567d15
6 changed files with 73 additions and 60 deletions
+2 -1
View File
@@ -57,9 +57,10 @@ impl LlmWorker {
let llm_resp: LlmResponse = resp.json().await.unwrap();
Ok(ChatMsg {
display_name: message.display_name.clone(),
user_id: 0,
text: llm_resp.choices[0].message.content.clone(),
timestamp: chrono::Local::now().timestamp() as usize,
timestamp: chrono::Utc::now().timestamp() as usize,
})
}
}