class PlaywrightLLMAgent:
def __init__(self):
def _get_chat_agent(self):
def _safe_parse_json(self, content: str):
def _get_fallback_response(self, error_msg: str):
def _llm_call(
self,
prompt: str,
snapshot: str,
is_initial: bool,
history: Optional[List[Dict[str, Any]]] = None
):