Skip to content

Commit 9cf8ce9

Browse files
speedstorm1copybara-github
authored andcommitted
chore: export LocalTokenizer to allow usage
PiperOrigin-RevId: 827674020
1 parent 7526e4d commit 9cf8ce9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/import.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Install dependencies
2828
run: |
2929
python -m pip install --upgrade pip
30-
pip install setuptools wheel
30+
pip install setuptools wheel sentencepiece protobuf
3131
pip install pytest
3232
pip install .
3333

google/genai/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@
1818
from . import types
1919
from . import version
2020
from .client import Client
21+
from .local_tokenizer import LocalTokenizer
2122

2223

2324
__version__ = version.__version__
2425

25-
__all__ = ['Client']
26+
__all__ = ["Client", "LocalTokenizer"]

0 commit comments

Comments
 (0)