Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

fix(mlx): stop claiming --model takes a GGUF file

thinhlpg2502218d10e7
diff --git a/mlx-server/Sources/MLXServer/MLXServerCommand.swift b/mlx-server/Sources/MLXServer/MLXServerCommand.swift
index fdfaff465..d18d177ae 100644
--- a/mlx-server/Sources/MLXServer/MLXServerCommand.swift
+++ b/mlx-server/Sources/MLXServer/MLXServerCommand.swift
@@ -10,7 +10,7 @@ struct MLXServerCommand: AsyncParsableCommand {
abstract: "MLX-Swift inference server with OpenAI-compatible API"
)
- @Option(name: [.long, .short], help: "Path to the GGUF model file")
+ @Option(name: [.long, .short], help: "Path to the model directory, or a file inside it")
var model: String
@Option(name: .long, help: "Port to listen on")