From 26dc9519f1415463810d6381fe52874d76d23080 Mon Sep 17 00:00:00 2001 From: wangchengfeng <602120734@qq.com> Date: Fri, 17 May 2024 17:29:40 +0800 Subject: [PATCH 1/2] openAI project apikey input --- src/components/Sidebar/auth/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Sidebar/auth/index.tsx b/src/components/Sidebar/auth/index.tsx index e63552cb..a3a1a3ea 100644 --- a/src/components/Sidebar/auth/index.tsx +++ b/src/components/Sidebar/auth/index.tsx @@ -59,7 +59,7 @@ const Auth = () => { placeholder="Enter your OpenAI API key" data-error={error ? 'true' : undefined} className="cdx-mt-4 cdx-text-center cdx-p-2 cdx-w-full cdx-rounded-md cdx-border dark:cdx-border-neutral-600 cdx-border-neutral-200 dark:cdx-bg-neutral-800/90 cdx-bg-neutral-200/90 focus:cdx-outline-none focus:cdx-ring-2 focus:cdx-ring-blue-900 focus:cdx-ring-opacity-50 data-[error]:cdx-text-red-500" - pattern="sk-[a-zA-Z0-9]{48}" + pattern="sk-(proj-)?[a-zA-Z0-9]{48}" /> {error && ( From c041ecddb5c34c46258378b391c4b3915e7137b4 Mon Sep 17 00:00:00 2001 From: Srujan Gurram <52039218+Royal-lobster@users.noreply.github.com> Date: Fri, 17 May 2024 15:20:31 +0530 Subject: [PATCH 2/2] Create violet-pigs-pull.md --- .changeset/violet-pigs-pull.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/violet-pigs-pull.md diff --git a/.changeset/violet-pigs-pull.md b/.changeset/violet-pigs-pull.md new file mode 100644 index 00000000..432ed8b3 --- /dev/null +++ b/.changeset/violet-pigs-pull.md @@ -0,0 +1,5 @@ +--- +"syncia": patch +--- + +openAI project apikey input on welcome screen