ragflow/rag/llm
Yuhao Bi 91d6fb8061
Fix miscalculated token count (#9776)
### What problem does this PR solve?

The total token was incorrectly accumulated when using the
OpenAI-API-Compatible api.

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2025-09-05 19:17:21 +08:00
..
__init__.py Fix: Ollama chat cannot access remote deployment (#9816) 2025-08-29 13:35:41 +08:00
chat_model.py Fix miscalculated token count (#9776) 2025-09-05 19:17:21 +08:00
cv_model.py Fix: Gemini parameters error (#9520) 2025-08-18 14:51:10 +08:00
embedding_model.py Use 'float' explicitly for OpenAI's embedding "encoding_format" (#9838) 2025-09-02 10:31:51 +08:00
rerank_model.py Refactor: for total_token_count method use if to check first. (#9707) 2025-08-26 10:47:20 +08:00
sequence2txt_model.py Refa: OpenAI whisper-1 (#9552) 2025-08-19 16:41:18 +08:00
tts_model.py Add **kwargs to model base class constructors (#9252) 2025-08-07 09:45:37 +08:00