We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d99ca69 commit 483e162Copy full SHA for 483e162
Copilot for Xcode/OpenAIView.swift
@@ -42,6 +42,11 @@ struct OpenAIView: View {
42
43
HStack {
44
Picker(selection: $settings.chatGPTModel) {
45
+ if !settings.chatGPTModel.isEmpty,
46
+ ChatGPTModel(rawValue: settings.chatGPTModel) == nil
47
+ {
48
+ Text(settings.chatGPTModel).tag(settings.chatGPTModel)
49
+ }
50
ForEach(ChatGPTModel.allCases, id: \.self) { model in
51
Text(model.rawValue).tag(model.rawValue)
52
}
0 commit comments