From 68a6ba40e5329ba3633ea49903f4978d0de097ae Mon Sep 17 00:00:00 2001 From: heimoshuiyu Date: Tue, 26 Dec 2023 17:36:49 +0800 Subject: [PATCH] fix: show save api template button --- src/settings.tsx | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/src/settings.tsx b/src/settings.tsx index 8c34956..a3b7299 100644 --- a/src/settings.tsx +++ b/src/settings.tsx @@ -456,8 +456,20 @@ export default (props: { readOnly={true} {...props} /> - - + +
- {props.chatStore.apiEndpoint && props.chatStore.apiKey && ( + {props.chatStore.apiEndpoint && (