Skip to content

armgit / camel

Public Imported from GitHub
0

🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org

959 B
Raw Blame

PageSnapshot

class PageSnapshot:

Utility for capturing YAML-like page snapshots and diff-only variants.

init

def __init__(self, page: 'Page'):

_format_snapshot

def _format_snapshot(text: str):

_compute_diff

def _compute_diff(old: str, new: str):

_detect_priorities

def _detect_priorities(self, snapshot_yaml: str):

Return sorted list of priorities present (1,2,3).