Fix position of @main annotation
- Also update package versions otherwise things don't compile out of the box (you need the version where `callAsFunction` is marked `open`)
This commit is contained in:
@@ -6,6 +6,7 @@ import LLM
|
||||
import MLX
|
||||
import MLXRandom
|
||||
|
||||
@main
|
||||
struct LLMTool: AsyncParsableCommand {
|
||||
static var configuration = CommandConfiguration(
|
||||
abstract: "Command line tool for generating text using Llama models",
|
||||
@@ -13,7 +14,6 @@ struct LLMTool: AsyncParsableCommand {
|
||||
defaultSubcommand: SyncGenerator.self)
|
||||
}
|
||||
|
||||
@main
|
||||
struct SyncGenerator: AsyncParsableCommand {
|
||||
|
||||
static var configuration = CommandConfiguration(
|
||||
|
||||
Reference in New Issue
Block a user