ragflow
ragflow copied to clipboard
[Bug]: Help adding openAI API compatible external model
Discussed in https://github.com/orgs/infiniflow/discussions/4592
Originally posted by jb-dul January 23, 2025 Hello folks, I would need some help adding an openAI-API compatible external model. Access to this model with a test curl request actually works.
I went through this :
And I got this error :
It looks like ragflow adds a suffix to the model name, something like "__OpenAI-API" There might be a simple way to remove that suffix ? Thanks a lot for your help.
I updated api/apps/llm_app.py, it is passed. But there is still one issue that has not been resolved, the suffix needed be removed.