progress
This commit is contained in:
+2
-1
@@ -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,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user