(provider, tmp_path, max_turns=4)
| 47 | |
| 48 | |
| 49 | def _runner(provider, tmp_path, max_turns=4): |
| 50 | registry = build_default_registry(provider=provider) |
| 51 | ctx = ToolContext(workspace_root=tmp_path) |
| 52 | return LiveAgentRunner( |
| 53 | provider=provider, |
| 54 | tool_registry=registry, |
| 55 | parent_context=ctx, |
| 56 | base_tools=list(registry.list_tools()), |
| 57 | resolve_agent=lambda _t: GENERAL_PURPOSE_AGENT, |
| 58 | run_id="wf_itest", |
| 59 | max_turns=max_turns, |
| 60 | ) |
| 61 | |
| 62 | |
| 63 | async def test_text_agent_returns_final_text(tmp_path): |
no test coverage detected