feat(i18n): add optional embedding model descriptions for multiple locales

Enhance the internationalization support by adding optional descriptions for the embedding model in English, Korean, Russian, and Chinese. Update the UI to reflect these changes, ensuring users are informed about the optional nature of the embedding model when configuring knowledge base settings.
This commit is contained in:
wizardchen
2026-06-16 21:07:28 +08:00
committed by lyingbug
parent 07e0f6f21a
commit 83eeec0ddf
10 changed files with 41 additions and 112 deletions
@@ -1610,11 +1610,6 @@ func (s *wikiIngestService) reduceSlugUpdates(
if err == nil && updatedContent != "" {
updatedSummary, updatedBody := splitSummaryLine(updatedContent)
// Category now comes from the batch taxonomy plan, not this prompt.
// Defensively strip any stray leading CATEGORY line the model may
// still emit so it never leaks into the page body; discard the value.
_, bodyAfterCategory := splitCategoryLine(updatedBody)
updatedBody = bodyAfterCategory
if updatedBody != "" {
page.Content = updatedBody
} else {