add custom system prompt (#39)

This commit is contained in:
Mckay Wrigley
2023-03-21 01:39:32 -06:00
committed by GitHub
parent 6e19d44020
commit 0d6ff739a2
16 changed files with 310 additions and 206 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ export const Key: FC<Props> = ({ apiKey, onApiKeyChange }) => {
};
const handleUpdateKey = (newKey: string) => {
onApiKeyChange(newKey);
onApiKeyChange(newKey.trim());
setIsChanging(false);
};