(agent_runner: TestRunner)
| 167 | indirect=True, |
| 168 | ) |
| 169 | def test_function_instruction(agent_runner: TestRunner): |
| 170 | session = Session(context={"customerId": "1234567890"}) |
| 171 | si = UnitFlow()._build_system_instruction( |
| 172 | InvocationContext( |
| 173 | invocation_id="1234567890", agent=agent_runner.agent, session=session |
| 174 | ) |
| 175 | ) |
| 176 | |
| 177 | assert "This is the plain text sub agent instruction." in si |
nothing calls this directly
no test coverage detected