ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

[Bug]: After deleting an OpenAI-API-Compatible model you cannot add a new model

Open rplescia opened this issue 1 year ago • 1 comments

Is there an existing issue for the same bug?

  • [X] I have checked the existing issues.

Branch name

0.9.0

Commit ID

na

Other environment information

Hardware: Cisco UCS240 M5
OS: Ubuntu 24.04

Actual behavior

After adding an OpenAI-API-Compatible model I wanted to change the configuration to switch from vLLM to Llamafile. To do this I needed to remove the vLLM model and add the Llamafile configuration. After deleting the model I click on the OpenAI-API-Compatible provider, instead of getting a dialog box with all the options (base URL, model name, key etc.) it only asks to modify the API key.

image

Expected behavior

Show full dialog box to add new OpenAI-API compatible endpoint

Steps to reproduce

Add an OpenAI-API-Compatible model, delete it, and try adding a new one.

Additional information

No response

rplescia avatar Aug 22 '24 10:08 rplescia

FYI - if you enter an API key and click OK it reports "modified" but nothing actually happens.

rplescia avatar Aug 22 '24 12:08 rplescia

hi @rplescia Thank you for pointing out this issue. I tried adding and then deleting a model in the OpenAI-API-Compatible, and after clicking on it again, everything worked fine. I suggest pulling the latest Docker image to see if that resolves the issue. If the problem persists, please let me know.

hangters avatar Aug 26 '24 04:08 hangters

Hi, I can confirm this bug has been fixed in v0.10.0. Thanks!

rplescia avatar Aug 26 '24 08:08 rplescia