Add support for specifying the languages to parse from the `CodeExecutorAgent` response (#6592)
## Why are these changes needed? The `CodeExecutorAgent` can generate code blocks in various programming languages, some of which may not be supported by the executor environment. Adding support for specifying languages to be parsed helps users ignore unnecessary code blocks, preventing potential execution errors. ## Related issue number Closes #6471 ## Checks - [x] I've included any doc changes needed for <https://microsoft.github.io/autogen/>. See <https://github.com/microsoft/autogen/blob/main/CONTRIBUTING.md> to build and test documentation locally. - [x] I've added tests (if relevant) corresponding to the changes introduced in this PR. - [x] I've made sure all auto checks have passed. --------- Signed-off-by: Abhijeetsingh Meena <abhijeet040403@gmail.com> Co-authored-by: Victor Dibia <victordibia@microsoft.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
A
Abhijeetsingh Meena committed
955f4f9b9f8dd19c2932d2ddec9369c69d497250
Parent: 03394a4
Committed by GitHub <noreply@github.com>
on 5/28/2025, 9:03:46 PM