mirror of
https://github.com/cloudstack-llc/mlx-knife.git
synced 2026-07-19 14:43:36 -04:00
86f669dc82
- Vision Support (Issue #45): CLI + Server with OpenAI-compatible image API, EXIF metadata - Unix Pipes (ADR-014): stdin support, isatty detection, SIGPIPE handling - Memory-Aware Loading (ADR-016): Pre-load checks with >70% RAM warnings - Python 3.9-3.14: Full compatibility verified (476-485 tests passing) - Fixed: --log-json regression (Issue #44), Vision multimodal history filtering See CHANGELOG.md for complete details.
15 lines
310 B
Python
15 lines
310 B
Python
"""mlx-run: thin wrapper that forces the 'run' subcommand as $0."""
|
|
|
|
import sys
|
|
from mlxk2.cli import main as mlxk_main
|
|
|
|
|
|
def main() -> None:
|
|
# Insert the 'run' subcommand so `mlx-run <model> ...` maps to `mlxk run ...`
|
|
sys.argv.insert(1, "run")
|
|
mlxk_main()
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|