From b8d41c4a3fc3959ec3a8a4a6c4d47fab17153802 Mon Sep 17 00:00:00 2001 From: tglide <26071571+TGlide@users.noreply.github.com> Date: Wed, 30 Aug 2023 09:18:52 +0100 Subject: [PATCH 1/3] change error description --- src/lib/commandCenter/panels/ai.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/commandCenter/panels/ai.svelte b/src/lib/commandCenter/panels/ai.svelte index 44f6f753dc..0534885831 100644 --- a/src/lib/commandCenter/panels/ai.svelte +++ b/src/lib/commandCenter/panels/ai.svelte @@ -180,8 +180,8 @@ Something went wrong

- An unexpected error occurred while handling your request. Please try again - later. + An unexpected error occurred while handling your request. For more information, + please check the status of our APIs and contact support.

From 82dd89477d5fe3624d87210e3132cd3c444df93c Mon Sep 17 00:00:00 2001 From: tglide <26071571+TGlide@users.noreply.github.com> Date: Wed, 30 Aug 2023 09:22:14 +0100 Subject: [PATCH 2/3] fix overriding question --- src/lib/commandCenter/panels/ai.svelte | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/lib/commandCenter/panels/ai.svelte b/src/lib/commandCenter/panels/ai.svelte index 0534885831..2979fa9ae2 100644 --- a/src/lib/commandCenter/panels/ai.svelte +++ b/src/lib/commandCenter/panels/ai.svelte @@ -19,6 +19,8 @@ } }); + let question = $input; + const examples = [ 'How to add platform in the console?', 'How can I manage users, permissions, and access control in Appwrite?', @@ -140,7 +142,7 @@
{getInitials($user.name)}
-

{$input}

+

{question}