Skip to content

Commit

Permalink
fix: restore create_pretrained_tokenizer import
Browse files Browse the repository at this point in the history
* Add back the import that was lost in merge
* This import is needed for custom tokenizer initialization
  • Loading branch information
openhands-agent committed Dec 15, 2024
1 parent a247e26 commit 52a3a39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions openhands/llm/llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
ServiceUnavailableError,
)
from litellm.types.utils import CostPerToken, ModelResponse, Usage
from litellm.utils import create_pretrained_tokenizer

from openhands.core.exceptions import CloudFlareBlockageError
from openhands.core.logger import openhands_logger as logger
Expand Down

0 comments on commit 52a3a39

Please sign in to comment.