From 3ecb70e7258a566bfb96913681c35f00840e8cd8 Mon Sep 17 00:00:00 2001 From: Yurii Chukhlib Date: Sat, 17 Jan 2026 11:07:39 +0100 Subject: [PATCH] docs: Add missing CacheMode import in quickstart documentation Fixes #1477 The code example in "4. Generating Markdown Output" section was using CacheMode.BYPASS without importing CacheMode, which would cause a NameError when users try to run the example. Added CacheMode to the imports from crawl4ai module. Co-Authored-By: Claude --- docs/md_v2/core/quickstart.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/md_v2/core/quickstart.md b/docs/md_v2/core/quickstart.md index 83cb6cef8..78209efde 100644 --- a/docs/md_v2/core/quickstart.md +++ b/docs/md_v2/core/quickstart.md @@ -97,7 +97,7 @@ By default, Crawl4AI automatically generates Markdown from each crawled page. Ho ### Example: Using a Filter with `DefaultMarkdownGenerator` ```python -from crawl4ai import AsyncWebCrawler, CrawlerRunConfig +from crawl4ai import AsyncWebCrawler, CrawlerRunConfig, CacheMode from crawl4ai.content_filter_strategy import PruningContentFilter from crawl4ai.markdown_generation_strategy import DefaultMarkdownGenerator