(
self,
prompt: str,
har_file_path: str,
cookie_path: str,
)
| 19 | INPUT_VARIABLES_KEY: str = "input_variables" |
| 20 | |
| 21 | def __init__( |
| 22 | self, |
| 23 | prompt: str, |
| 24 | har_file_path: str, |
| 25 | cookie_path: str, |
| 26 | ): |
| 27 | self.prompt: str = prompt |
| 28 | self.duplicate_part_set: Set[str] = set() |
| 29 | self.global_master_node: Optional[str] = None |
| 30 | self.req_to_res_map: Dict[Request, str] = parse_har_file(har_file_path) |
| 31 | self.url_to_res_req_dict: Dict[str, Dict[str, Any]] = build_url_to_req_res_map(self.req_to_res_map) |
| 32 | self.har_urls: List[Tuple[str, str, str, str]] = get_har_urls(har_file_path) |
| 33 | self.cookie_dict: Dict[str, Dict[str, Any]] = parse_cookie_file_to_dict(cookie_path) |
| 34 | self.curl_to_id_dict: Dict[str, str] = {} |
| 35 | self.cookie_to_id_dict: Dict[str, str] = {} |
| 36 | self.dag_manager: DAGManager = DAGManager() |
| 37 | |
| 38 | def end_url_identify_agent(self, state: AgentState) -> AgentState: |
| 39 | """ |
nothing calls this directly
no test coverage detected