noqt commited on
Commit
6bf86b6
·
1 Parent(s): 0fb85bb

style: satisfy smoke static checks

Browse files
Files changed (1) hide show
  1. scripts/smoke_local_ai.py +1 -1
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("utf-8")
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