shu/making scrolling debug logs (#635)

This commit is contained in:
Shuchang Zheng
2024-07-25 12:56:10 -07:00
committed by GitHub
parent 624c996f7f
commit c52f8f2433
2 changed files with 3 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ class LLMConfigRegistry:
cls.validate_config(llm_key, config)
LOG.info("Registering LLM config", llm_key=llm_key)
LOG.debug("Registering LLM config", llm_key=llm_key)
cls._configs[llm_key] = config
@classmethod

View File

@@ -91,9 +91,9 @@ class SkyvernFrame:
screenshot = await SkyvernFrame.take_screenshot(page=skyvern_page.frame, full_page=False)
screenshots.append(screenshot)
scroll_y_px_old = scroll_y_px
LOG.info("Scrolling to next page", url=url, num_screenshots=len(screenshots))
LOG.debug("Scrolling to next page", url=url, num_screenshots=len(screenshots))
scroll_y_px = await skyvern_page.scroll_to_next_page(draw_boxes=draw_boxes)
LOG.info(
LOG.debug(
"Scrolled to next page",
scroll_y_px=scroll_y_px,
scroll_y_px_old=scroll_y_px_old,