Spaces:
Running
Running
style: satisfy smoke static checks
Browse files
scripts/smoke_local_ai.py
CHANGED
|
@@ -70,7 +70,7 @@ def stop_canary(canary: subprocess.Popen[bytes]) -> None:
|
|
| 70 |
def generated(path: Path, prompt: str) -> bool:
|
| 71 |
if not path.is_file() or path.is_symlink():
|
| 72 |
return False
|
| 73 |
-
marker = f"\n> {prompt}\n".encode(
|
| 74 |
output = path.read_bytes()
|
| 75 |
position = output.find(marker)
|
| 76 |
# llama-cli writes its startup banner before the prompt. Requiring text
|
|
|
|
| 70 |
def generated(path: Path, prompt: str) -> bool:
|
| 71 |
if not path.is_file() or path.is_symlink():
|
| 72 |
return False
|
| 73 |
+
marker = f"\n> {prompt}\n".encode()
|
| 74 |
output = path.read_bytes()
|
| 75 |
position = output.find(marker)
|
| 76 |
# llama-cli writes its startup banner before the prompt. Requiring text
|