Skip to content

Commit 77f1b57

Browse files
committed
Fix that changing model changes server
1 parent 0d3c523 commit 77f1b57

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Copilot for Xcode/OpenAIView.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,6 @@ struct OpenAIView: View {
6262
Image(systemName: "questionmark.circle.fill")
6363
}.buttonStyle(.plain)
6464
}
65-
.onChange(of: settings.chatGPTModel) { newValue in
66-
if let model = ChatGPTModel(rawValue: newValue) {
67-
settings.chatGPTEndpoint = model.endpoint
68-
}
69-
}
7065

7166
TextField(
7267
text: $settings.chatGPTEndpoint,

0 commit comments

Comments
 (0)