(folder: Path, llm: str = "openai/gpt-5.6-luna")
| 52 | |
| 53 | |
| 54 | def json_crew_project(folder: Path, llm: str = "openai/gpt-5.6-luna") -> None: |
| 55 | write(folder / "pyproject.toml", JSON_CREW_PYPROJECT) |
| 56 | write(folder / "crew.jsonc", '{"agents": ["researcher"]}') |
| 57 | write(folder / "agents" / "researcher.jsonc", f'{{"llm": "{llm}"}}') |
| 58 | # Installed already, so the run starts its child without installing first. |
| 59 | write(folder / "uv.lock", "") |
| 60 | (folder / ".venv").mkdir() |
| 61 | |
| 62 | |
| 63 | @pytest.fixture |
no test coverage detected