# Copyright (c) Meta Platforms, Inc. and affiliates. # All rights reserved. # # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. """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", ]