diff --git a/src/lib/Chat.svelte b/src/lib/Chat.svelte index 6e1f370..866b588 100644 --- a/src/lib/Chat.svelte +++ b/src/lib/Chat.svelte @@ -228,6 +228,14 @@ const submitForm = async (recorded: boolean = false): Promise => { + // Compose the system prompt message if there are no messages yet - disabled for now + /* + if (chat.messages.length === 0) { + const systemPrompt: Message = { role: 'system', content: 'You are a helpful assistant.' } + addMessage(chatId, systemPrompt) + } + */ + // Compose the input message const inputMessage: Message = { role: 'user', content: input.value } addMessage(chatId, inputMessage)