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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user