chore: move model reload to debug tab

This commit is contained in:
Peter Steinberger
2025-12-06 23:40:50 +01:00
parent 89bb7d0211
commit ad2a26611a

View File

@@ -1517,19 +1517,10 @@ struct ConfigSettings: View {
.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 {
Text(modelError)
.font(.footnote)
.foregroundStyle(.secondary)
}
if let modelError {
Text(modelError)
.font(.footnote)
.foregroundStyle(.secondary)
}
}
}