tests: keep codegen configured in the SemIf fidelity integration test
This commit is contained in:
1 parent
3d0cff325c
commit
42b2472328
1 file changed
+5
-1
@@ -317,7 +317,11 @@ def test_fidelity_gate_is_a_real_semif_decision(tmp_path):
|
|||||||
config["log"] = str(tmp_path / "decisions.jsonl")
|
config["log"] = str(tmp_path / "decisions.jsonl")
|
||||||
config["trace"] = str(tmp_path / "runs.jsonl")
|
config["trace"] = str(tmp_path / "runs.jsonl")
|
||||||
scheduler, config = build_scheduler(config)
|
scheduler, config = build_scheduler(config)
|
||||||
scheduler.codegen = None # no rewrite; this test only exercises the gate
|
# The gate needs codegen configured to run; point it at a dead endpoint so
|
||||||
|
# a reconsider can't complete a rewrite (the gate still logs its decision).
|
||||||
|
scheduler.codegen = CodegenClient(
|
||||||
|
base_url="http://127.0.0.1:1/v1", model="test", timeout=2
|
||||||
|
)
|
||||||
|
|
||||||
job = SkillWrite(
|
job = SkillWrite(
|
||||||
request=Request("tell me if my package was delivered"),
|
request=Request("tell me if my package was delivered"),
|
||||||
|
|||||||
Reference in new issue
Block a user