refactor: multiple code improvements (#2771)

This commit is contained in:
Leo
2024-07-04 18:51:22 +08:00
committed by GitHub
parent 869997b941
commit c2f557edde
52 changed files with 118 additions and 122 deletions

View File

@@ -93,8 +93,8 @@ class CodeActSWEAgent(Agent):
sandbox_plugins: list[PluginRequirement] = [
# NOTE: AgentSkillsRequirement need to go before JupyterRequirement, since
# AgentSkillsRequirement provides a lot of Python functions
# and it need to be initialized before Jupyter for Jupyter to use those functions.
# AgentSkillsRequirement provides a lot of Python functions,
# and it needs to be initialized before Jupyter for Jupyter to use those functions.
AgentSkillsRequirement(),
JupyterRequirement(),
]