Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(exts/devin-lang): enhance CodeBlockElement to correctly handle in…
…jection host validations #101 Previously, the `CodeBlockElement` class was using a hardcoded check to determine its ability to accept language injections, which was not ideal. This commit introduces a more robust method, `isAbleToAcceptInjections`, that takes into account the presence of start and end blocks, as well as the number of content elements within the code block. This ensures that the injection logic is more accurate and flexible, reducing the risk of incorrect language injections.
- Loading branch information