mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-10 07:48:37 +01:00
fix ai + chart + events
This commit is contained in:
@@ -77,7 +77,7 @@ export async function sendMessageOnChat(text: string, pid: string, initial_chat_
|
||||
} else {
|
||||
const roleMessage: OpenAI.Chat.Completions.ChatCompletionMessageParam = {
|
||||
role: 'system',
|
||||
content: + "Today is " + new Date().toISOString()
|
||||
content: "Today ISO date: " + new Date().toISOString()
|
||||
}
|
||||
messages.push(roleMessage);
|
||||
await addMessageToChat(roleMessage, chat_id);
|
||||
|
||||
Reference in New Issue
Block a user