Integrate real reviewer with measured Actions execution and live Jenkins pipeline
This commit is contained in:
@@ -29,6 +29,8 @@ def propose(source):
|
||||
raise ValueError("model checksum mismatch")
|
||||
if not executable.is_file():
|
||||
raise FileNotFoundError("llama-completion executable missing")
|
||||
if _sha256(executable) != lock["runtime_entrypoint_sha256"]:
|
||||
raise ValueError("llama-completion checksum mismatch")
|
||||
if source not in ('print("hello"', 'print("hello"\n'):
|
||||
raise ValueError("real-model adapter only supports the hello fixture")
|
||||
prompt = lock["prompt_template"].format(source_line=source.rstrip("\n"))
|
||||
|
||||
Reference in New Issue
Block a user