Refactor LLM class export: update import statement and define public API

legacy
lasseedfast 5 months ago
parent 4567ed2752
commit a6a388d3d0
  1. 12
      _llm/__init__.py

@ -1,7 +1,7 @@
# """
# llm_client: A Python package for interacting with LLM models through Ollama.
# """
# ...existing code...
# Export the LLM class so "from _llm import LLM" works.
from .llm import LLM # re-export the class from the module
# from ._llm.llm import LLM # Use relative import with dot prefix
# __all__ = ["LLM"]
# Define public API
__all__ = ["LLM"]
# ...existing code...
Loading…
Cancel
Save