Skip to content

Commit 93e133a

Browse files
committed
Fix typo
1 parent 5b58927 commit 93e133a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Core/Sources/HostApp/AccountSettings/ChatModelManagement/ChatModelEditView.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ struct ChatModelEditView: View {
216216
@ViewBuilder
217217
var openAI: some View {
218218
baseURLTextField(prompt: Text("https://api.openai.com")) {
219-
Text("/v1/chat/completion")
219+
Text("/v1/chat/completions")
220220
}
221221
apiKeyNamePicker
222222

@@ -294,11 +294,11 @@ struct ChatModelEditView: View {
294294
baseURLTextField(
295295
title: "",
296296
prompt: viewStore.state
297-
? Text("https://api.openai.com/v1/chat/completion")
297+
? Text("https://api.openai.com/v1/chat/completions")
298298
: Text("https://api.openai.com")
299299
) {
300300
if !viewStore.state {
301-
Text("/v1/chat/completion")
301+
Text("/v1/chat/completions")
302302
}
303303
}
304304
}

0 commit comments

Comments
 (0)