## Summary Please include a summary of the change and/or which issues are fixed. eg: Fixes #123 (Tag GitHub issue numbers in this format, so it automatically links the issues with your PR) ## List of files changed and why eg: quickstart.py - To update the example as per new changes ## How Has This Been Tested? Please describe the tests that you ran to verify your changes. ## Checklist: - [ ] My code follows the style guidelines of this project - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [ ] I have added/updated unit tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes
#1724
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR updates the custom_hook_workflow example to make the verbose parameter meaningful. Previously, verbose=True was declared but unused, which could confuse new users. Now, the parameter controls whether logging messages and hook outputs are printed.
No existing issues were tagged for this, but it addresses a documentation/example clarity gap.
List of files changed and why
docs/examples/quickstart.py → Updated the custom_hook_workflow function to conditionally print hook messages and crawl output based on the verbose flag. This improves readability and demonstrates how to toggle logging in workflows.
How Has This Been Tested?
Ran the updated custom_hook_workflow locally with verbose=True → confirmed that hook messages and Markdown preview print correctly.
Ran with verbose=False → confirmed that the workflow executes silently without printing logs.
Verified that the crawl still completes successfully and returns structured results.
Checklist
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation (example updated)
[x] I have added/updated unit tests that prove my fix is effective or that my feature works (manual test for verbose toggle)
[x] New and existing unit tests pass locally with my changes