计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
serving-and-cli【效率与协作】Operate Mellea 0.8.0.dev0's m CLI and OpenAI-compatible server safely, including serving, routing, response schemas, streaming, decomposition, migration, evaluation routing, and bounded adapter commands.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this route for the m entry point, m serve,
POST /v1/chat/completions, GET /health, OpenAI-compatible clients, model
routing, response formats, SSE streaming, m decompose, m fix, or the
bounded CLI aspects of m alora and m eval. The operating contract is for
Mellea 0.8.0.dev0 and Python 3.11+.
python scripts/check_cli_surface.py --mode static. To render installed
help without executing a callback, use --mode help --target <name>.m serve, request/response fields, structured output, routing, streaming,
multimodal messages, and error envelopes, read
Serving API.m serve imports user code and starts a
blocking server; m decompose and m eval call models and write files;
m fix genslots writes unless --dry-run; aLoRA commands may download a
model, consume substantial compute, overwrite local files, prompt, or upload
to Hugging Face Hub.127.0.0.1 over the m serve wildcard default. The built-in service
has no authentication, TLS, rate limiting, or authorization layer.model as untrusted routing metadata. Route only through a
fixed allowlist; never derive a provider URL, import, credential, or arbitrary
model loader directly from it.json_schema before generation. A response schema affects output
only when the served function accepts format and passes it into Mellea.127.0.0.1:8080.serve signature and backend prerequisites without
importing untrusted, side-effectful application code.model and a user message.stream, response_format,
tools, multimodal content, or model routing./health, then send the bounded request and inspect the response or
SSE [DONE] marker.fix, run --dry-run and review every match before writing.decompose or eval, bound model/token/timeout settings and use a new
output path; these commands make provider calls and files.server, and repeat
help; do not start Uvicorn as a dependency test.Route provider selection, model identifiers, credentials, backend extras, and
provider failures to ../backends-and-models/SKILL.md. Route evaluation design,
judge validity, and sampling semantics to
../sampling-and-evaluation/SKILL.md. Route tool execution, tool-call loops,
and MCP to ../tools-and-agents/SKILL.md when that route is available; this
skill covers only the HTTP envelope and CLI boundary for tools.