feat: Strata als Standardmodell für Coder/Judge
/optimize, /coder, /judge, /fix nutzen ohne PI_CODER_MODEL jetzt strata/qwen3.8-flash-next-iq3_s; llama-cpp-single/coding_model über PI_CODER_MODEL. Hinweis bei nicht bereitem Server nennt strata.sh start. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
d2e83daa98
commit
9571361c2a
1 changed files with 30 additions and 23 deletions
25
README.md
25
README.md
|
|
@ -1,7 +1,7 @@
|
|||
# pi_coder_2 — Automatisierter Coder/Judge-Workflow für pi agent
|
||||
|
||||
Dieses Repository enthält die Konfiguration und Skripte für einen automatisierten
|
||||
Coding-Workflow mit einem lokalen LLaMA-Modell, das abwechselnd als Coder und Judge
|
||||
Coding-Workflow mit einem lokalen Modell (Standard: Strata), das abwechselnd als Coder und Judge
|
||||
agiert — gesteuert über Pi Agent. Er dreht solange Optimierungsschleifen, bis das
|
||||
Programm Produktionsreife hat.
|
||||
|
||||
|
|
@ -13,19 +13,19 @@ Programm Produktionsreife hat.
|
|||
Nutzer gibt Auftrag
|
||||
│
|
||||
▼
|
||||
/coder → coding_model (:8001, Coder-Persona) → Implementierung + git commit
|
||||
/coder → Strata (:9090, Coder-Persona) → Implementierung + git commit
|
||||
│
|
||||
▼
|
||||
/judge → coding_model (:8001, Judge-Persona) → Review: PASS / FAIL + Blocker
|
||||
/judge → Strata (:9090, Judge-Persona) → Review: PASS / FAIL + Blocker
|
||||
│
|
||||
FAIL? ▼
|
||||
/fix → coding_model (:8001, Coder-Persona) → Fixes + git commit
|
||||
/fix → Strata (:9090, Coder-Persona) → Fixes + git commit
|
||||
│
|
||||
PASS WITH CONCERNS? ▼
|
||||
│ (ohne --approve-concerns: wie FAIL → weiterer Fix-Zyklus)
|
||||
│
|
||||
PASS? ▼
|
||||
/shipit → coding_model (:8001, Judge-Persona) → Finale Freigabe: SHIP / NO-SHIP
|
||||
/shipit → Strata (:9090, Judge-Persona) → Finale Freigabe: SHIP / NO-SHIP
|
||||
(nur bei "PASS WITH CONCERNS" --approve-concerns; klares PASS → direkt SHIP)
|
||||
|
||||
/optimize = Coder→Judge→Fix-Schleife automatisch (bis PASS oder max. N Runden)
|
||||
|
|
@ -41,15 +41,18 @@ nur die Persona im System-Prompt ändert sich.
|
|||
|
||||
## Modelle
|
||||
|
||||
| Rolle | Modell | Port | Container | Alias | GPU |
|
||||
|----------------|---------------------------------------------------|------|--------------------|----------------|----------|
|
||||
| Coder + Judge | Qwen3.6-27B-Uncensored-HauhauCS-Aggressive-IQ4_XS | 8001 | coding_model | coding_model | device=1 |
|
||||
| Rolle | Modell (`<provider>/<id>`) | Port | Betrieb | GPU |
|
||||
|---|---|---|---|---|
|
||||
| Coder + Judge (Standard) | `strata/qwen3.8-flash-next-iq3_s` | 9090 | Strata-Server, `~/nvme2n1p7_home/strata-betrieb` | 1 und 2 |
|
||||
| Coder + Judge (Alternative) | `llama-cpp-single/coding_model` (Qwen3.6-27B IQ4_XS) | 8001 | Container `coding_model`, `start-coding-server.sh` | 1 |
|
||||
|
||||
Coder- und Judge-Rollen werden durch verschiedene System-Prompts realisiert —
|
||||
dasselbe Modell, derselbe Container, unterschiedliche Persona.
|
||||
dasselbe Modell, unterschiedliche Persona. Freie Eingaben in pi nutzen weiter pis eigenes Standardmodell.
|
||||
|
||||
Ein anderes Modell für beide Rollen (z. B. den lokalen Strata-Server) setzt `PI_CODER_MODEL=<provider>/<id>`,
|
||||
siehe [BEDIENUNGSANLEITUNG.md](BEDIENUNGSANLEITUNG.md#anderes-modell-für-die-schleife).
|
||||
Strata lädt sein Modell bei der ersten Anfrage selbst, gibt vorher die GPUs frei und entlädt es nach 10 Minuten ohne
|
||||
Anfrage (eingerichtet in `strata-betrieb`). Ein anderes Modell für beide Rollen setzt
|
||||
`PI_CODER_MODEL=<provider>/<id>`, siehe
|
||||
[BEDIENUNGSANLEITUNG.md](BEDIENUNGSANLEITUNG.md#anderes-modell-für-die-schleife).
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue