chore: move model reload to debug tab
parent
89bb7d0211
commit
ad2a26611a
|
|
@ -1517,14 +1517,6 @@ struct ConfigSettings: View {
|
||||||
.foregroundStyle(.secondary)
|
.foregroundStyle(.secondary)
|
||||||
}
|
}
|
||||||
|
|
||||||
HStack(spacing: 10) {
|
|
||||||
Button {
|
|
||||||
Task { await self.loadModels() }
|
|
||||||
} label: {
|
|
||||||
Label(self.modelsLoading ? "Loading…" : "Reload models", systemImage: "arrow.clockwise")
|
|
||||||
}
|
|
||||||
.disabled(self.modelsLoading)
|
|
||||||
|
|
||||||
if let modelError {
|
if let modelError {
|
||||||
Text(modelError)
|
Text(modelError)
|
||||||
.font(.footnote)
|
.font(.footnote)
|
||||||
|
|
@ -1532,7 +1524,6 @@ struct ConfigSettings: View {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
LabeledContent("Session store") {
|
LabeledContent("Session store") {
|
||||||
TextField("Path", text: self.$configStorePath)
|
TextField("Path", text: self.$configStorePath)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue