-
Notifications
You must be signed in to change notification settings - Fork 439
Open
Description
Description
Although “Custom OpenAI-Compatible” displays as an option in the LLM provider list, it is unable to be used. Model name is grey and cannot be changed. An HTTP-500 error presents upon clicking the save button.
I understand if the dashboard or Ask AI are not part of this repo. If so, please let me know where I should file this issue instead.
Steps to reproduce
- Login to the dashboard, go to “Data sources” and switch to “Ask AI”.
- Click “Add assistant”. Choose “Custom OpenAI-Compatible” as the language model provider. After that, the system prompts to “select a custom provider” where the dropdown menu is empty. Then click “Create New” button beside it.
- Set the name, base URL, etc. of the new custom provider. After that, the model name below is still grey and could not be specified. There is not a save button to save the new custom provider either. My settings: Name=
SiliconFlow, Base URL=https://api.siliconflow.com/v1, and custom headers for authorization. - Enter a random name for the assistant and click “Save and exit” or “Save and add prompt”. The system notifys that it fails to create the custom provider, and that an error occurred with an HTTP request (500). UPDATE: This error will occur only when the custom headers is set. Without the headers, the assistant could be saved, but the model name could still not be specified, making it unusable.
Live reproduction:
I’m sorry, but doing so could leak my model API key. However, I can provide a screenshot for you.
Expected behavior
The custom provider should be saved. The model name should not be grey so I can specify it. And the assistant should be saved without any errors.
Environment
- OS: Windows
- Browser: Firefox 147.0.4, Ungoogled-Chromium 144.0.7559.96
- DocSearch version: v4.5.4
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
