计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
remote-providers【效率与协作】Operate Outlines server and black-box provider integrations without invoking live models.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task involves Outlines model loaders for server-based or black-box clients: OpenAI/Azure OpenAI, Anthropic, Gemini, Mistral, Ollama, LM Studio, SGLang, TGI, vLLM server mode, or Dottxt.
This skill is for configuration, routing, capability checks, and error recovery. Do not call provider services, do not validate real credentials, and do not print secret values.
from_* loader for a provider client object.output_type can run on a black-box provider.outlines.exceptions errors.../structured-generation/SKILL.md.../prompt-workflows/SKILL.md.Transformers, LlamaCpp, MLXLM, VLLMOffline) ->
the local model/runtime route, not this server-provider route.from_openai,
from_sglang, and from_vllm all accept OpenAI SDK clients, but they build
different request bodies for structured output. Do not treat them as
interchangeable.Regex or CFG request is a capability mismatch; route to a local/supported
provider instead of retrying the same OpenAI request.NotImplementedError for batch; use caller-side bounded concurrency
only when the provider wrapper has an async model and the provider limits
permit it.RateLimitError, ServerError,
APITimeoutError, and APIConnectionError expose retryable=True.
Authentication, permission, not-found, malformed request/schema, and refusal
errors require configuration or request changes.APIError, surface
provider, status_code, request_id, retryable, and hint without
exposing secrets.| Provider route | Loader | Async | Stream | Batch | Structured-output support |
|---|---|---|---|---|---|
| OpenAI / Azure | from_openai(client, model_name=None) | yes | yes | no | JSON schema strict + JSON mode; no Regex/CFG/simple choice |
| Anthropic | from_anthropic(client, model_name=None) | no | yes | no | none through Outlines output_type |
| Gemini | from_gemini(client, model_name=None) | no | yes | no | JSON schema subset, homogeneous lists, enum/choice; no Regex/CFG |
| Mistral | from_mistral(client, model_name=None, async_client=False) | opt-in | yes | no | strict JSON schema + JSON mode; no Regex/CFG |
| Ollama | from_ollama(client, model_name=None) | yes | yes | no | JSON schema only; no Regex/CFG |
| LM Studio | from_lmstudio(client, model_name=None) | yes | yes | no | JSON schema only; local SDK errors are not normalized |
| SGLang | from_sglang(client, model_name=None) | yes | yes | no | JSON/schema/regex/simple/choice; CFG only as SGLang-compatible EBNF |
| TGI | from_tgi(client) | yes | yes | no | JSON/schema/regex/simple/choice; no CFG |
| vLLM server | from_vllm(client, model_name=None) | yes | yes | no | JSON/schema/regex/simple/choice/CFG if server supports structured outputs |
| Dottxt | from_dottxt(client, model=None) | yes | no | no | JSON schema only; output type and model id required |
Keep provider-specific caveats in provider-matrix.md in front of any implementation or recovery plan.