mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-04-01 00:18:18 +02:00
Embeddings- Clean up modal + "Important" call out (#1903)
This commit is contained in:
parent
a0b46c60c6
commit
9c6084bd0d
@ -36,8 +36,7 @@ export function ModelSelectionConfirmationModal({
|
||||
at least 16GB of RAM to Danswer during this process.
|
||||
</Text>
|
||||
|
||||
{/* TODO Change this back- ensure functional */}
|
||||
{!isCustom && (
|
||||
{isCustom && (
|
||||
<Callout title="IMPORTANT" color="yellow" className="mt-4">
|
||||
We've detected that this is a custom-specified embedding
|
||||
model. Since we have to download the model files before verifying
|
||||
|
@ -149,6 +149,7 @@ function Main() {
|
||||
}
|
||||
);
|
||||
if (response.ok) {
|
||||
setShowTentativeOpenProvider(null);
|
||||
setShowTentativeModel(null);
|
||||
mutate("/api/secondary-index/get-secondary-embedding-model");
|
||||
if (!connectors || !connectors.length) {
|
||||
@ -274,6 +275,7 @@ function Main() {
|
||||
onClose={() => setAlreadySelectedModel(null)}
|
||||
/>
|
||||
)}
|
||||
|
||||
{showTentativeOpenProvider && (
|
||||
<ModelSelectionConfirmationModal
|
||||
selectedModel={showTentativeOpenProvider}
|
||||
|
Loading…
x
Reference in New Issue
Block a user