[Feat] Add Fastino GLiDE as a served System One decision backend
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start in s1a/decision_models/factory.py to see how the served backends (clm, onejev, laya-served) are registered and what the existing jev client sends, then read the shared decision-model contract tests that every registered model must pass. Build a stub server that mimics Fastino's 422 on extra fields and on a missing model, since the request shape and instructions handling must be confirmed before writing the adapter. Done means build_model("glide") passes the contract tests for choice and noul (plus images when present), a GLiDE row exists in docs/capabilities.md distinguishing wired from qualified, and the env vars are documented in docs/configuration.md.
由索引模型根据 Issue 内容生成。
描述
Why
Fastino released GLiDE, a family of decision models that score typed questions in one forward pass (no generated text). The paper was posted on 2026-11-19 (after our last research pass):
- Paper: GLiDE: A Fast, Calibrated Decision Model Distilled from Reasoning Teachers (arXiv:2611.26509)
- Hosted inference:
POST https://api.fastino.ai/v1/systemone, model idfastino/GLiDE— https://docs.fastino.ai/inference/systemone - Local weights and a System One HTTP server: https://huggingface.co/fastino/GLiDE-27B (bf16, one GPU with 80 GB or more). Serve with
python -m glide.server --model /models/GLiDE-27B --port 8000oruvicorn glide.server:app; the server speaksPOST /v1/systemone.
This repository still has no --model glide. s1a/decision_models/factory.py registers jev, jev-vl-served, clm, laya, laya-served, cua, omnijev, onejev, random, and rule only. GLiDE is not a substitute for the open issues that qualify or add other backends:
- #126 adds Cloudflare Clef / Clef-flash (Workers AI or local SGLang)
- #103 qualifies Open-Jev 9B/27B on the local System One text path
- #108 qualifies Kev by pointing
TYPESAFE_API_URLatkev.serve - #114 qualifies served OneJev 1.6
It cannot ride the existing jev client unchanged. Fastino's own migration notes say the request structure (state, named questions, matching answers) is the same, but the integration is not a drop-in replacement (https://docs.fastino.ai/inference/systemone):
- Auth is
X-API-Key: $FASTINO_API_KEY(Bearer is also accepted). Our TypeSafe transport always sendsAuthorization: Bearer. - The request
modelmust befastino/GLiDE(or a deployed GLiDE id). Omitting it is422. On the direct TypeSafe path,TYPESAFE_MODELvalues that contain/are already rejected as OpenRouter ids, sofastino/GLiDEcannot be stuffed intoJevModel.from_env()as it stands. - Unsupported top-level fields return
422. Our Jev body is onlymodel,state, andquestionstoday; still confirm Fastino accepts theinstructionsobject ourjev_questionsends (goal/operation/rules, or{question: ...}for noul). Fastino documentsinstructionsas a non-empty string or JSON object. - Images are not TypeSafe image input, not Clef's
imagesarray, and not OneJev'smedia+<image:N>markers. Hosted GLiDE takes images asstateparts ({"type": "image_url", "image_url": {"url": "data:image/png;base64,..."}}, up to 4, JPEG/PNG/GIF/WebP). The local server uses the same part shape and does not fetch remote URLs. - Hosted requests default to
store: true. Our evals should sendstore: false. - Retries: Fastino uses
425 model_warming,429, and503(plusX-Fastino-Wait-For-Model/Retry-After). Our Jev transport is written around TypeSafe's429/529. - Our
DecisionModelinterface has onlychoiceandnoultoday; GLiDE'sscoretype is out of scope here. - Weights are under the Fastino Community License (stated on the GLiDE-27B card), not Apache-2.0. Do not vendor weights into this repo. The hosted API or a user-run local server is enough.
Published Decision Index / Artificial Analysis scores in the paper and on the model card are Fastino's or the leaderboard maintainers', not Agents results. Do not copy them into our docs.
Hosted pricing, from the official docs (re-check at implementation time): $0.04 per 1 million input tokens; output tokens are free.
Proposed work
- Add
--model glidethat talks to eitherhttps://api.fastino.ai/v1/systemoneor a localglide.server, selected by env (GLIDE_URL/FASTINO_API_KEY, or a local URL). Follow the existing served-backend pattern (clm,onejev): one deadline per decision, recordurl, request id if present, the served model name (glideon the hosted API), and usage; fail closed on a missing URL/key or a bad body. Sendstore: falseon the hosted path. Contract tests against a stub server; no live Fastino or GPU call in CI. - Check the request shape first against the official docs (and a stub that rejects extra fields the way Fastino's
422would). If our existing Jev question bodies are accepted, reuse that builder and only change endpoint, auth,model, retries, andstore. Ifinstructionsmust be a string, or a field is rejected, map it in this adapter and document which field changed; do not invent a second unused shaping layer. - Text path first (choice + noul only): ticket-router or
s1a probe, plus one browser suite already in-tree (Allrecipes task 0 or the deterministic local search path used for Laya). Count every attempt (success, failure, timeout,BLOCKED), decision p50/p95, and hardware /S1A_DECISION_TIMEOUT_S. - Screenshot path: map
Observation.imagesonto GLiDE'sstateimage parts (inline data URLs). If the hosted API or the local server rejects or ignores a field of our body, document which field and stop rather than adding a second image layout in this PR. An observation without an image may still run as text. - Add a GLiDE row to
docs/capabilities.mdthat distinguishes "adapter wired" from "qualified on this checkpoint and path", link it from #54, and mention the env vars indocs/configuration.md. Note the Community License.
Acceptance criteria
-
build_model("glide")is registered and covered by the shared decision-model contract tests (choice + noul; images when present). - Every claimed run names Agents SHA, path (hosted Fastino vs local
glide.server), model id or checkpoint, hardware, and timeout. - Results under
docs/results/include failures in the denominator. No Decision Index or Artificial Analysis figure is reported as an Agents result. - Docs state that
scorequestions are unsupported on our interface, that hosted evals usestore: false, and that the weights are not Apache-2.0.
Out of scope
- Adding a
ScoreQuestiontype tos1a/decision_models. - Training, fine-tuning, or an in-process
Glide.from_pretrainedloader (HTTP only in this issue). - Vendoring GLiDE weights.
- Replacing hosted Jev in the README headline table.
- Qualifying Clef (#126), Open-Jev (#103), Kev (#108), or OneJev 1.6 (#114).
References
- https://arxiv.org/abs/2611.26509
- https://docs.fastino.ai/inference/systemone
- https://huggingface.co/fastino/GLiDE-27B
- Related: #54 (roadmap backends), #126, #103, #108, #114, #97 (TypeSafe image input), #88 (served OneJev media path)
- 主要语言
- Python
- 星标
- 120
- 派生
- 21
- 平均合并
- 17 小时 13 分钟
- 30 天内合并 PR
- 7
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ThinkFlowLab/system1-agents 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 25/100
ThinkFlowLab/system1-agents#130 ·
维护者通常 1 天内回复
-
[Eval] Measure cross-question interference when decide_many bundles questions可能已有人在做 @Birfy 于 3 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 45/100
ThinkFlowLab/system1-agents#127 ·
维护者通常 1 天内回复
-
[Feat] Add Cloudflare Clef / Clef-flash as a System One decision backend可能已有人在做 @Birfy 今天认领。 未关闭
难度 5/5 一周以上 新手友好度 28/100
ThinkFlowLab/system1-agents#126 ·
维护者通常 1 天内回复
-
[Eval] Measure a pre-execution tool-call gate (Jev noul on BEFORE_TOOL_CALL) on TS-Bench step-level labels可能已有人在做 @Birfy 于 10 天前认领。 未关闭
难度 5/5 一周以上 新手友好度 38/100
ThinkFlowLab/system1-agents#122 ·
维护者通常 1 天内回复
-
[Eval] Add a seeded WebHarbor slice: locally reset, verifier-graded browser tasks (offline counterpart to #116)可能已有人在做 @Birfy 于 12 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 22/100
ThinkFlowLab/system1-agents#118 ·
维护者通常 1 天内回复
查看 ThinkFlowLab/system1-agents 的全部 Issue
相似的 Issue
-
cron: raise a distinct error when next_fire finds no match in its search bound (from #813 item 5)未关闭
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
Pin Hugging Face commit revisions for AuK weight downloads and eliminate post-download SHA TOCTOU未关闭area:voice better-dependency-freedom dependencies effort:low in-progress model:medium plan planner:gemini-4-neon-high priority:2 security
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
needs-area-label
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
OpenFreeEnergy/openfe#2371 ·
维护者通常 2 天内回复
-
HMDB's smiles file writes "None" for metabolites with an empty <smiles/> (file not currently used)未关闭
难度 2/5 1-3 小时 新手友好度 80/100
NCATSTranslator/Babel#1269 ·
维护者通常 1 天内回复