feat: add background image to login page and alter tooltip of base_url and add llm type to Added models List (#173)

* feat: add llm type to Added models List

* feat: alter tooltip of base_url

* feat: add background image to login page
This commit is contained in:
balibabu
2024-03-29 16:15:12 +08:00
committed by GitHub
parent ffed0876f2
commit 204385a7bf
9 changed files with 244 additions and 27 deletions

View File

@ -78,10 +78,9 @@ const ApiKeyModal = ({
<Form.Item<FieldType>
label="Base-Url"
name="base_url"
tooltip="The API key can be obtained by registering the corresponding LLM supplier."
rules={[{ required: true, message: 'Please input base url!' }]}
tooltip="If your API key is from OpenAI, just ignore it. Any other intermediate providers will give this base url with the API key."
>
<Input />
<Input placeholder="https://api.openai.com/v1" />
</Form.Item>
)}
</Form>