(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
| 17 | |
| 18 | @pytest.fixture |
| 19 | def agent_project(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> Path: |
| 20 | monkeypatch.chdir(tmp_path) |
| 21 | result = CliRunner().invoke( |
| 22 | crewai, ["create", "agent", "Support-Agent", "--format", "python"] |
| 23 | ) |
| 24 | assert result.exit_code == 0, result.output |
| 25 | return tmp_path / "support_agent" |
| 26 | |
| 27 | |
| 28 | @pytest.mark.parametrize("model", [None, "openai/gpt-4o-mini"]) |