This repository contains a FrontAgent Planner-only LoRA adapter trained with MLX-LM on Apple Silicon. It generates structured frontend engineering execution plans for FrontAgent. It does not directly generate business code, run tools, or make repository changes. Generated plans still require FrontAgent schema validation and runtime safety checks.
1python -m venv .venv
2.venv/bin/python -m pip install mlx-lm
3.venv/bin/python -m mlx_lm generate \
4 --model mlx-community/Qwen2.5-Coder-14B-Instruct-4bit \
5 --adapter-path ceilf6/frontagent-planner-14B-lora \
6 --system-prompt '你是一个资深前端工程师和项目规划专家。只输出 JSON,不要输出 markdown。' \
7 --prompt '任务:创建一个用户登录页面,包含邮箱和密码输入框,支持表单验证\n项目上下文:React 18 + TypeScript + Ant Design 5' \
8 --max-tokens 1536 \
9 --temp 0