(agent_runner: TestRunner)
| 144 | indirect=True, |
| 145 | ) |
| 146 | def test_nl_planner(agent_runner: TestRunner): |
| 147 | session = Session(context={"customerId": "1234567890"}) |
| 148 | si = UnitFlow()._build_system_instruction( |
| 149 | InvocationContext( |
| 150 | invocation_id="1234567890", |
| 151 | agent=agent_runner.agent, |
| 152 | session=session, |
| 153 | ) |
| 154 | ) |
| 155 | |
| 156 | for line in nl_planner_si.splitlines(): |
| 157 | assert line in si |
| 158 | |
| 159 | |
| 160 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected