shu/making scrolling debug logs (#635)
This commit is contained in:
@@ -32,7 +32,7 @@ class LLMConfigRegistry:
|
|||||||
|
|
||||||
cls.validate_config(llm_key, config)
|
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
|
cls._configs[llm_key] = config
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|||||||
@@ -91,9 +91,9 @@ class SkyvernFrame:
|
|||||||
screenshot = await SkyvernFrame.take_screenshot(page=skyvern_page.frame, full_page=False)
|
screenshot = await SkyvernFrame.take_screenshot(page=skyvern_page.frame, full_page=False)
|
||||||
screenshots.append(screenshot)
|
screenshots.append(screenshot)
|
||||||
scroll_y_px_old = scroll_y_px
|
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)
|
scroll_y_px = await skyvern_page.scroll_to_next_page(draw_boxes=draw_boxes)
|
||||||
LOG.info(
|
LOG.debug(
|
||||||
"Scrolled to next page",
|
"Scrolled to next page",
|
||||||
scroll_y_px=scroll_y_px,
|
scroll_y_px=scroll_y_px,
|
||||||
scroll_y_px_old=scroll_y_px_old,
|
scroll_y_px_old=scroll_y_px_old,
|
||||||
|
|||||||
Reference in New Issue
Block a user