14 lines
455 B
Python
14 lines
455 B
Python
from pathlib import Path
|
|
|
|
from localdiplomacy_agent.config import KoboldCppConfig
|
|
from localdiplomacy_agent.koboldcpp_process import KoboldCppProcess
|
|
|
|
|
|
def test_runtime_file_validation_reports_missing_files(tmp_path: Path):
|
|
process = KoboldCppProcess(KoboldCppConfig(), cwd=tmp_path)
|
|
|
|
errors = process.validate_runtime_files()
|
|
|
|
assert any("koboldcpp.exe" in error for error in errors)
|
|
assert any("model.gguf" in error for error in errors)
|