add menu items to change API key and toggle GPT-4

This commit is contained in:
leetcode-mafia
2023-04-19 14:40:01 -04:00
parent b91561d6df
commit 60c882000f
2 changed files with 29 additions and 1 deletions

View File

@@ -18,7 +18,7 @@ struct AuthTokenView: View {
}
.privacySensitive()
.frame(width: 300)
Toggle("Use GPT-4 (access required)", isOn: $toggleValue)
Toggle("Use GPT-4 (API access required)", isOn: $toggleValue)
Button("Save") {
storedToken = tokenValue
useGPT4 = toggleValue