Add greeting.

This commit is contained in:
Senad Uka
2023-05-15 18:24:20 +02:00
parent 15aaf26489
commit a2b597cce6

View File

@@ -4,7 +4,9 @@
import Avatar from "./Avatar.svelte"; import Avatar from "./Avatar.svelte";
import { onMount, afterUpdate } from "svelte"; import { onMount, afterUpdate } from "svelte";
let messages: ({ type: string; text: string } | { text: { submit: string }; type: string })[] = []; let messages: ({ type: string; text: string } | { text: { submit: string }; type: string })[] = [
{ type: "bot", text: "Zdravo! Ja sam Ramiza. Volim pričati i znam mnoge stvari. Pitaj me nešto!" }
];
let sessionToken = ""; let sessionToken = "";
const backendUrl = import.meta.env.VITE_BACKEND_URL; const backendUrl = import.meta.env.VITE_BACKEND_URL;
let message = ""; let message = "";