Add ReinOpenWeights adapter, closing GLAS-WP-0001-T05
glas_harness/reins/rein_openweights.py implements the Rein ABC by shelling out to `rein-openweights run --task-file ... --no-hub [--model ...]`, mirroring reins/rein_aharness.py exactly. Factored the duplicated git_head/write_task_file logic into reins/_shared.py, used by both adapters now. registry/reins/rein-openweights.yaml flipped to status: implemented. 8 new tests (mocked subprocess), 18/18 passing. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
4bdf8de950
commit
266f99a2fe
8 changed files with 238 additions and 43 deletions
|
|
@ -2,12 +2,15 @@ id: rein-openweights
|
|||
title: OpenRouter open-weight agentic loop
|
||||
description: >
|
||||
Agentic tool-use harness driving current open-weight models via
|
||||
OpenRouter/llm-connect, as an alternative to frontier-vendor CLIs.
|
||||
Chartered by ADR-001; not yet implementing this contract.
|
||||
OpenRouter (own minimal client, not llm-connect — see
|
||||
rein-openweights/workplans/REIN-OW-WP-0001-T01), as an alternative to
|
||||
frontier-vendor CLIs. Chartered by ADR-001.
|
||||
handler: glas_harness.reins.rein_openweights:ReinOpenWeights
|
||||
capabilities:
|
||||
session_style: unattended
|
||||
model_class: open-weight
|
||||
credential_source: tbd
|
||||
# tbd: resolved by GLAS-WP-0001-T06 before this rein is implemented.
|
||||
status: planned
|
||||
credential_source: rein-local
|
||||
# rein-local per ADR-002 (Option B): rein-openweights acquires its own
|
||||
# OpenRouter credential (OpenBao, or OPENROUTER_API_KEY env var).
|
||||
# glas-harness does not broker it.
|
||||
status: implemented
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue