You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added an optional sources parameter to CodeExecutorAgent for more control on which agents can contribute code. Also moved the _extract_markdown_code_blocks to an member method so that it can be overriden by subclasses.
"""An agent that extracts and executes code snippets found in received messages and returns the output.
25
14
@@ -75,9 +64,11 @@ def __init__(
75
64
code_executor: CodeExecutor,
76
65
*,
77
66
description: str="A computer terminal that performs no other action than running Python scripts (provided to it quoted in ```python code blocks), or sh shell scripts (provided to it quoted in ```sh code blocks).",
0 commit comments