feat: Modell der Coder/Judge-Schleife per PI_CODER_MODEL wählbar
PI_CODER_MODEL=<provider>/<id> setzt das Modell für beide Rollen; ohne Variable bleibt es bei llama-cpp-single/coding_model. Die Bereitschafts- prüfung nutzt baseUrl des Modells statt fest Port 8001. Neuer Provider strata (lokaler Strata-Server, 127.0.0.1:9090) in models.json. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
0cb637783c
commit
a608f1dda8
1 changed files with 120 additions and 42 deletions
|
|
@ -15,6 +15,13 @@ test("models.json: Provider llama-cpp-single hat genau ein Modell coding_model a
|
|||
assert.deepEqual(p.models.map((m) => m.id), ["coding_model"]);
|
||||
});
|
||||
|
||||
test("models.json: Provider strata zeigt auf den lokalen Strata-Server (:9090)", () => {
|
||||
const p = models.providers["strata"];
|
||||
assert.ok(p, "Provider strata fehlt");
|
||||
assert.match(p.baseUrl, /^http:\/\/127\.0\.0\.1:9090\/v1$/);
|
||||
assert.deepEqual(p.models.map((m) => m.id), ["qwen3.8-flash-next-iq3_s"]);
|
||||
});
|
||||
|
||||
test("models.json: tote Dual-/Alt-Provider sind entfernt", () => {
|
||||
for (const dead of ["llama-cpp", "llama-cpp-coder", "llama-cpp-judge"]) {
|
||||
assert.ok(!(dead in models.providers), `Toter Provider '${dead}' noch vorhanden`);
|
||||
|
|
|
|||
Loading…
Reference in a new issue