Skip to content

LLM Wiki is a cross-platform desktop application that turns your documents into an organized, interlinked knowledge base — automatically. Instead of traditional RAG (retrieve-and-answer from scratch every time), the LLM incrementally builds and maintains a persistent wiki from your sources。

TypeScript

fix: add useTranslation hook to EndpointField (blocks 0.4.0 build)

nash_sue06179c60872
diff --git a/src/components/settings/sections/llm-provider-section.tsx b/src/components/settings/sections/llm-provider-section.tsx
index c89a6d42..49a5fa32 100644
--- a/src/components/settings/sections/llm-provider-section.tsx
+++ b/src/components/settings/sections/llm-provider-section.tsx
@@ -300,6 +300,7 @@ interface EndpointFieldProps {
* blur, if normalization would change the value, we apply it.
*/
function EndpointField({ value, mode, placeholder, onChange }: EndpointFieldProps) {
+ const { t } = useTranslation()
const preview = useMemo(() => normalizeEndpoint(value, mode), [value, mode])
function handleBlur() {