Skip to content

Commit 9ac9515

Browse files
committed
Use Context Window instead of Max Tokens
1 parent 9ff813c commit 9ac9515

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

CustomSuggestionService/ChatModelManagement/ChatModelEditView.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ struct ChatModelEditView: View {
128128
)
129129

130130
TextField(text: textFieldBinding) {
131-
Text("Max Tokens (Including Reply)")
131+
Text("Context Window")
132132
.multilineTextAlignment(.trailing)
133133
}
134134
.overlay(alignment: .trailing) {
@@ -269,7 +269,7 @@ struct ChatModelEditView: View {
269269
var ollama: some View {
270270
baseURLTextField(
271271
title: "",
272-
prompt: Text("https://127.0.0.1:11434/api/chat")
272+
prompt: Text("http://127.0.0.1:11434")
273273
) {
274274
Text("/api/chat")
275275
}
@@ -284,7 +284,7 @@ struct ChatModelEditView: View {
284284

285285
VStack(alignment: .leading, spacing: 8) {
286286
Text(Image(systemName: "exclamationmark.triangle.fill")) + Text(
287-
" For more details, please visit [https://ollama.com](https://ollama.com)"
287+
" For more details, please visit [https://ollama.com](https://ollama.com)."
288288
)
289289
}
290290
.padding(.vertical)

CustomSuggestionService/ChatModelManagement/CompletionModelEditView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ struct CompletionModelEditView: View {
124124
)
125125

126126
TextField(text: textFieldBinding) {
127-
Text("Max Tokens (Including Reply)")
127+
Text("Context Window")
128128
.multilineTextAlignment(.trailing)
129129
}
130130
.overlay(alignment: .trailing) {

0 commit comments

Comments
 (0)