sistema contextual y de reocmendaciones de manuales, asi como busqueda y nuevps disenios
This commit is contained in:
@@ -54,7 +54,10 @@ class HelpCenterService:
|
||||
}
|
||||
|
||||
# Only append if there's something meaningful beyond "article"
|
||||
if metadata["content_type"] != "article" or metadata["file_url"]:
|
||||
if (metadata["content_type"] != "article" or
|
||||
metadata["file_url"] or
|
||||
metadata["context_path"] or
|
||||
metadata["tags"]):
|
||||
content += f"\n\n<!-- a76_metadata: {json.dumps(metadata)} -->"
|
||||
|
||||
return content
|
||||
|
||||
Reference in New Issue
Block a user