repl / src /core /tools /__init__.py
sergiopaniego's picture
sergiopaniego HF Staff
Upload folder using huggingface_hub
45a291e verified
Raw History Blame Contribute Delete
436 Bytes
# SPDX-License-Identifier: BSD-3-Clause
"""Core tools for code execution and other utilities."""
from .git_server_client import GitServerClient, RepoInfo
try:
from .local_python_executor import PyExecutor
except ModuleNotFoundError:
# smolagents is optional for environments that only need Git tooling.
PyExecutor = None # type: ignore[assignment]
__all__ = [
"PyExecutor",
"GitServerClient",
"RepoInfo",
]