We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b58927 commit 93e133aCopy full SHA for 93e133a
1 file changed
Core/Sources/HostApp/AccountSettings/ChatModelManagement/ChatModelEditView.swift
@@ -216,7 +216,7 @@ struct ChatModelEditView: View {
216
@ViewBuilder
217
var openAI: some View {
218
baseURLTextField(prompt: Text("https://api.openai.com")) {
219
- Text("/v1/chat/completion")
+ Text("/v1/chat/completions")
220
}
221
apiKeyNamePicker
222
@@ -294,11 +294,11 @@ struct ChatModelEditView: View {
294
baseURLTextField(
295
title: "",
296
prompt: viewStore.state
297
- ? Text("https://api.openai.com/v1/chat/completion")
+ ? Text("https://api.openai.com/v1/chat/completions")
298
: Text("https://api.openai.com")
299
) {
300
if !viewStore.state {
301
302
303
304
0 commit comments