docs: fix broken code examples in 3 blog posts#2559
Open
VasiliyRad wants to merge 1 commit intomainfrom
Open
Conversation
- Code-execution-in-docker: added missing comma between function arguments in UserProxyAgent constructor (SyntaxError) - FalkorDB-Structured: added missing `import autogen` and `import os` to structured output code example (NameError) - FSM-GroupChat: fixed indentation in 7 code blocks that had extra leading whitespace from MDX list formatting (SyntaxError) All fixes verified via ast.parse(). No changes to surrounding prose. Generated by Elva from Sentinel findings.
|
Elva seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
Codecov Report✅ All modified and coverable lines are covered by tests. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fix: Broken code examples in blog posts
Category: code_sample_error
Confidence: 95%
Changes
website/docs/_blogs/2024-01-23-Code-execution-in-docker/index.mdx— Added missing comma betweencode_execution_configdict andllm_configkeyword argument inUserProxyAgentconstructor (SyntaxError)website/docs/_blogs/2024-12-06-FalkorDB-Structured/index.mdx— Added missingimport autogenandimport osto structured output code example (NameError:autogenandosused but not imported)website/docs/_blogs/2024-02-11-FSM-GroupChat/index.mdx— Fixed indentation in 7 code blocks that had extra leading whitespace from MDX list formatting (SyntaxError: unexpected indent)Evidence
ast.parse()Validation
Generated by Elva from Sentinel findings. Please review before merging.
Did you know? The peregrine falcon can dive at over 380 km/h, making it the fastest animal on Earth.