Skip to content

Commit f7c3c3b

Browse files
Add embedding model → no curser not allowed when disabled
1 parent cf54b5f commit f7c3c3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/projects/projectId/settings/embeddings/AddNewEmbeddingModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ export default function AddNewEmbeddingModal() {
301301
<Tooltip content={TOOLTIPS_DICT.PROJECT_SETTINGS.EMBEDDINGS.MODEL} placement="right" color="invert">
302302
<span className="card-title mb-0 label-text flex"><span className="cursor-help underline filtersUnderline">Model</span></span>
303303
</Tooltip>
304-
<input defaultValue="qwen3-embedding-4b" disabled className="h-9 w-full text-sm border-gray-300 rounded-md placeholder-italic border text-gray-900 pl-4 focus:outline-none focus:ring-2 focus:ring-gray-300 focus:ring-offset-2 focus:ring-offset-gray-100 disabled:opacity-50" />
304+
<input defaultValue="qwen3-embedding-4b" disabled className="h-9 w-full text-sm border-gray-300 rounded-md placeholder-italic border text-gray-900 pl-4 focus:outline-none focus:ring-2 focus:ring-gray-300 focus:ring-offset-2 focus:ring-offset-gray-100 disabled:opacity-50 disabled:cursor-not-allowed" />
305305
</>}
306306
</div>
307307
{platform && (platform.name == platformNamesDict[PlatformType.OPEN_AI] || platform.name == platformNamesDict[PlatformType.AZURE] || platform.name == platformNamesDict[PlatformType.PRIVATEMODE_AI]) && <div className="text-center mt-3">

0 commit comments

Comments
 (0)