ragflow/rag/llm
Yinquan WANG 5aa9d7787e
[Bug]: When use OpenAI chat model , raise ERROR: 'CompletionUsage' object has no attribute 'get' #2948 (#2949)
[Bug]: When use OpenAI chat model , raise ERROR: 'CompletionUsage'
object has no attribute 'get' #2948

### What problem does this PR solve?

the detail of this PR is shown at
https://github.com/infiniflow/ragflow/issues/2948

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)

Co-authored-by: Kevin Hu <kevinhu.sh@gmail.com>
2024-10-22 11:40:05 +08:00
..
__init__.py Feature/feat1017 (#2872) 2024-10-21 12:11:08 +08:00
chat_model.py [Bug]: When use OpenAI chat model , raise ERROR: 'CompletionUsage' object has no attribute 'get' #2948 (#2949) 2024-10-22 11:40:05 +08:00
cv_model.py Fix keys of Xinference deployed models, especially has the same model name with public hosted models. (#2832) 2024-10-16 10:21:08 +08:00
embedding_model.py Fix keys of Xinference deployed models, especially has the same model name with public hosted models. (#2832) 2024-10-16 10:21:08 +08:00
rerank_model.py Feature/feat1017 (#2872) 2024-10-21 12:11:08 +08:00
rpc_server.py Format file format from Windows/dos to Unix (#1949) 2024-08-15 09:17:36 +08:00
sequence2txt_model.py fix sequence2txt error and usage total token issue (#2961) 2024-10-22 11:38:37 +08:00
tts_model.py support sequence2txt and tts model in Xinference (#2696) 2024-10-08 10:43:18 +08:00