Skip to content

Commit 48e49dc

Browse files
committed
feat: add thinking and ssd_stream to Config log line for observability
1 parent 498d18a commit 48e49dc

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Sources/mlx-server/Server.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,9 @@ struct MLXServer: AsyncParsableCommand {
424424
let corsStr = corsOrigin ?? "disabled"
425425
let memLimitStr = self.memLimit.map { "\($0)MB" } ?? "system_default"
426426
let authStr = apiKeyValue != nil ? "enabled" : "disabled"
427-
print("[mlx-server] Config: ctx_size=\(ctxSizeStr), temp=\(config.temp), top_p=\(config.topP), repeat_penalty=\(penaltyStr), parallel=\(parallelSlots), cors=\(corsStr), mem_limit=\(memLimitStr), auth=\(authStr)")
427+
let thinkingStr = config.thinking ? "enabled" : "disabled"
428+
let ssdStr = self.streamExperts ? "enabled" : "disabled"
429+
print("[mlx-server] Config: ctx_size=\(ctxSizeStr), temp=\(config.temp), top_p=\(config.topP), repeat_penalty=\(penaltyStr), parallel=\(parallelSlots), cors=\(corsStr), mem_limit=\(memLimitStr), auth=\(authStr), thinking=\(thinkingStr), ssd_stream=\(ssdStr)")
428430

429431
// ── Build Hummingbird router ──
430432
let router = Router()

0 commit comments

Comments
 (0)