MCPcopy Create free account
hub / github.com/MiniMax-AI/Mini-Agent / add

Method add

mini_agent/tools/bash_tool.py:115–117  ·  view source on GitHub ↗

Add a background shell to management.

(cls, shell: BackgroundShell)

Source from the content-addressed store, hash-verified

113
114 @classmethod
115 def add(cls, shell: BackgroundShell) -> None:
116 """Add a background shell to management."""
117 cls._shells[shell.bash_id] = shell
118
119 @classmethod
120 def get(cls, bash_id: str) -> BackgroundShell | None:

Callers 11

executeMethod · 0.80
extractSlideDataFunction · 0.80
get_field_infoFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected