Replace local TextModel, Backend, Token, Message, and option types with forge.lthn.ai/core/go-inference. go-mlx is now a pure backend that registers "metal" into the shared inference registry via init(). Deleted: textmodel.go, options.go, backend.go Updated: register_metal.go (implements inference.Backend with Available()), mlx_test.go (uses inference.* types, 4 new tests), go.mod, internal/metal/generate.go (added RepeatPenalty) 159 tests passing (148 internal/metal + 11 root). Co-Authored-By: Virgil <virgil@lethean.io>
7 lines
152 B
Modula-2
7 lines
152 B
Modula-2
module forge.lthn.ai/core/go-mlx
|
|
|
|
go 1.25.5
|
|
|
|
require forge.lthn.ai/core/go-inference v0.0.0
|
|
|
|
replace forge.lthn.ai/core/go-inference => ../go-inference
|