Skip to content

Commit

Permalink
remove deprecated extension
Browse files Browse the repository at this point in the history
  • Loading branch information
masci committed Nov 10, 2024
1 parent 32c3841 commit 2635408
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 62 deletions.
2 changes: 0 additions & 2 deletions src/banks/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,10 @@ def _add_extensions(_env):
from .extensions.chat import ChatExtension # pylint: disable=import-outside-toplevel
from .extensions.completion import CompletionExtension # pylint: disable=import-outside-toplevel
from .extensions.generate import GenerateExtension # pylint: disable=import-outside-toplevel
from .extensions.inference_endpoint import HFInferenceEndpointsExtension # pylint: disable=import-outside-toplevel

_env.add_extension(ChatExtension)
_env.add_extension(CompletionExtension)
_env.add_extension(GenerateExtension)
_env.add_extension(HFInferenceEndpointsExtension)


# Init the Jinja env
Expand Down
3 changes: 1 addition & 2 deletions src/banks/extensions/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
#
# SPDX-License-Identifier: MIT
from banks.extensions.generate import GenerateExtension
from banks.extensions.inference_endpoint import HFInferenceEndpointsExtension

__all__ = ("GenerateExtension", "HFInferenceEndpointsExtension")
__all__ = ("GenerateExtension",)
58 changes: 0 additions & 58 deletions src/banks/extensions/inference_endpoint.py

This file was deleted.

0 comments on commit 2635408

Please sign in to comment.