Преглед изворни кода

enh: link prompt variable doc

Timothy Jaeryang Baek пре 2 месеци
родитељ
комит
53d94d6f61
1 измењених фајлова са 4 додато и 5 уклоњено
  1. 4 5
      src/lib/components/workspace/Prompts/PromptEditor.svelte

+ 4 - 5
src/lib/components/workspace/Prompts/PromptEditor.svelte

@@ -171,11 +171,10 @@
 					<span class=" text-gray-600 dark:text-gray-300 font-medium">{'}}'}</span>.
 				</div>
 
-				<div class="text-xs text-gray-400 dark:text-gray-500">
-					{$i18n.t('Utilize')}<span class=" text-gray-600 dark:text-gray-300 font-medium">
-						{` {{CLIPBOARD}}`}</span
-					>
-					{$i18n.t('variable to have them replaced with clipboard content.')}
+				<div class="text-xs text-gray-400 dark:text-gray-500 underline">
+					<a href="https://docs.openwebui.com/features/workspace/prompts" target="_blank">
+						{$i18n.t('For more powerful prompt variables, check the documentation.')}
+					</a>
 				</div>
 			</div>
 		</div>