From a884ff5d1f3e07259cd8d8cb9db746cdda1ff514 Mon Sep 17 00:00:00 2001 From: Julian Bilcke Date: Tue, 17 Sep 2024 13:20:17 +0200 Subject: [PATCH] add api key setting for luma --- .../app/src/components/settings/provider.tsx | 11 ++++++++ .../workflows/lumalabs/index.ts | 27 +------------------ .../workflow-editor/workflows/piapi/index.ts | 2 +- 3 files changed, 13 insertions(+), 27 deletions(-) diff --git a/packages/app/src/components/settings/provider.tsx b/packages/app/src/components/settings/provider.tsx index 427cff20..ceead330 100644 --- a/packages/app/src/components/settings/provider.tsx +++ b/packages/app/src/components/settings/provider.tsx @@ -101,6 +101,9 @@ export function SettingsSectionProvider() { const letzAiApiKey = useSettings((s) => s.letzAiApiKey) const setLetzAiApiKey = useSettings((s) => s.setLetzAiApiKey) + + const lumaLabsApiKey = useSettings((s) => s.lumaLabsApiKey) + const setLumaLabsApiKey = useSettings((s) => s.setLumaLabsApiKey) const bigModelApiKey = useSettings((s) => s.bigModelApiKey) const setBigModelApiKey = useSettings((s) => s.setBigModelApiKey) @@ -337,6 +340,14 @@ export function SettingsSectionProvider() { type={apiKeyType} /> + +