ragflow/rag
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
..
app Refactor: Improve the buffer close for vision_llm_chunk (#9845) 2025-09-02 10:31:37 +08:00
flow Feat: refine dataflow and initialize dataflow app (#9952) 2025-09-05 18:50:46 +08:00
llm Fix miscalculated token count (#9776) 2025-09-05 19:17:21 +08:00
nlp Refactor: Use re compile for weight method (#9929) 2025-09-05 12:29:44 +08:00
prompts Fix: meta data error. (#9670) 2025-08-25 09:41:52 +08:00
res Refa: add result to callback for agent tool use. (#9137) 2025-08-01 21:49:39 +08:00
svr Feat: refine dataflow and initialize dataflow app (#9952) 2025-09-05 18:50:46 +08:00
utils Fix S3 client initialization with signature_version and addressing_style (#9911) 2025-09-05 09:58:30 +08:00
__init__.py Update comments (#4569) 2025-01-21 20:52:28 +08:00
benchmark.py Refactor embedding batch_size (#3825) 2024-12-03 16:22:39 +08:00
raptor.py Refactor: based on async await to handle Redis when raptor (#9576) 2025-08-22 10:58:02 +08:00
settings.py Feat: make document parsing and embedding batch sizes configurable via environment variables (#8266) 2025-06-16 13:40:47 +08:00