1
0
Timothy Jaeryang Baek 4 сар өмнө
parent
commit
dc2f8ec8c6

+ 8 - 0
src/lib/components/chat/Settings/Tools.svelte

@@ -97,6 +97,14 @@
 							)}
 						</div>
 					</div>
+
+					<div class=" text-xs text-gray-600 dark:text-gray-300 mb-2">
+						<a
+							class="underline"
+							href="https://github.com/open-webui/openapi-servers"
+							target="_blank">{$i18n.t('Learn more about OpenAPI tool servers.')}</a
+						>
+					</div>
 				</div>
 			</div>
 		{:else}

+ 2 - 2
src/lib/components/chat/ToolServersModal.svelte

@@ -82,10 +82,10 @@
 
 			<div class="px-5 pb-5 w-full flex flex-col justify-center">
 				<div class=" text-xs text-gray-600 dark:text-gray-300 mb-2">
-					Open WebUI can use tools provided by any OpenAPI server. <br /><a
+					{$i18n.t('Open WebUI can use tools provided by any OpenAPI server.')} <br /><a
 						class="underline"
 						href="https://github.com/open-webui/openapi-servers"
-						target="_blank">Learn more about OpenAPI tool servers.</a
+						target="_blank">{$i18n.t('Learn more about OpenAPI tool servers.')}</a
 					>
 				</div>
 				<div class=" text-sm dark:text-gray-300 mb-1">