imbajin commented on code in PR #419:
URL: https://github.com/apache/hugegraph-ai/pull/419#discussion_r4609535190
##########
hugegraph-llm/src/hugegraph_llm/demo/rag_demo/app.py:
##########
@@ -142,6 +127,7 @@ def refresh_ui_config_prompt() -> tuple:
huge_settings.graph_name,
Review Comment:
**⚠️ Refresh the prompt language indicator too**
If `LANGUAGE` changes from EN to CN in the saved settings while the app is
running, this callback now returns Chinese prompts on page reload, but the
header HTML was constructed once with the startup language and is not a load
output. The indicator and tooltip therefore still report English until the
server restarts. Please retain the header component and update its HTML from
the refreshed language in this callback.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]