(data: Mapping[str, Any])
| 107 | |
| 108 | |
| 109 | def _build_workflow(data: Mapping[str, Any]) -> WorkflowConfig: |
| 110 | return WorkflowConfig( |
| 111 | sys_iterations=int(data.get("sys_iterations", 15)), |
| 112 | exp_iterations=int(data.get("exp_iterations", 1)), |
| 113 | query_iterations=int(data.get("query_iterations", 1)), |
| 114 | scan_iterations=int(data.get("scan_iterations", 1)), |
| 115 | debug=_coerce_bool(data.get("debug", False)), |
| 116 | draw_graph=_coerce_bool(data.get("draw_graph", False)), |
| 117 | ) |
| 118 | |
| 119 | |
| 120 | def _build_llm_provider(data: Mapping[str, Any]) -> LLMProviderConfig: |
no test coverage detected