|
@@ -165,6 +165,7 @@
|
|
|
|
|
|
if ($page.url.searchParams.get('q')) {
|
|
if ($page.url.searchParams.get('q')) {
|
|
prompt = $page.url.searchParams.get('q') ?? '';
|
|
prompt = $page.url.searchParams.get('q') ?? '';
|
|
|
|
+
|
|
if (prompt) {
|
|
if (prompt) {
|
|
await tick();
|
|
await tick();
|
|
submitPrompt(prompt);
|
|
submitPrompt(prompt);
|
|
@@ -318,6 +319,7 @@
|
|
|
|
|
|
// Reset chat input textarea
|
|
// Reset chat input textarea
|
|
prompt = '';
|
|
prompt = '';
|
|
|
|
+ document.getElementById('chat-textarea').style.height = '';
|
|
files = [];
|
|
files = [];
|
|
|
|
|
|
// Send prompt
|
|
// Send prompt
|