### What problem does this PR solve? for total_token_count method use if to check first, to improve the performance when we need to handle exception cases ### Type of change - [x] Refactoring |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| chat_model.py | ||
| cv_model.py | ||
| embedding_model.py | ||
| rerank_model.py | ||
| sequence2txt_model.py | ||
| tts_model.py | ||