MCPcopy Create free account
hub / github.com/FSoft-AI4Code/HyperAgent / EICE

Class EICE

src/hyperagent/build.py:20–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18from pathlib import Path
19
20class EICE(EmbeddedIPythonCodeExecutor):
21 # Override the execute_code_blocks method to only execute the tool functions or initialization of these functions.
22 def execute_code_blocks(self, code_blocks: List[CodeBlock]):
23 tool_call_code_blocks = [block for block in code_blocks if "_run" in block.code or "Initialize" in block.code]
24 return super().execute_code_blocks(tool_call_code_blocks)
25
26class DCLCE(DockerCommandLineCodeExecutor):
27 def __init__(

Callers 1

initialize_toolsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected