MCPcopy Create free account
hub / github.com/Paper2Poster/Paper2Poster / add

Method add

camel/runtime/base.py:29–36  ·  view source on GitHub ↗

r"""Adds a new tool to the runtime.

(
        self,
        funcs: Union[FunctionTool, List[FunctionTool]],
        *args: Any,
        **kwargs: Any,
    )

Source from the content-addressed store, hash-verified

27
28 @abstractmethod
29 def add(
30 self,
31 funcs: Union[FunctionTool, List[FunctionTool]],
32 *args: Any,
33 **kwargs: Any,
34 ) -> "BaseRuntime":
35 r"""Adds a new tool to the runtime."""
36 pass
37
38 @abstractmethod
39 def reset(self, *args: Any, **kwargs: Any) -> Any:

Callers 11

_run_batchMethod · 0.45
collect_imagesMethod · 0.45
layout_inductMethod · 0.45
processMethod · 0.45
create_contextMethod · 0.45
write_recordsMethod · 0.45
_remove_duplicatesMethod · 0.45
from_chat_historyMethod · 0.45
gen_outline_layout_v2Function · 0.45
generate_poster_codeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected