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>
16 lines
681 B
YAML
16 lines
681 B
YAML
id: rein-openweights
|
|
title: OpenRouter open-weight agentic loop
|
|
description: >
|
|
Agentic tool-use harness driving current open-weight models via
|
|
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: 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
|