update:优化设备端读取mcp接入点工具

This commit is contained in:
hrz
2025-06-27 14:57:49 +08:00
parent 08753b97df
commit d0425fa31a
8 changed files with 72 additions and 20 deletions
+2
View File
@@ -473,6 +473,8 @@ class ConnectionHandler:
self.max_output_size = int(private_config["device_max_output_size"])
if private_config.get("chat_history_conf", None) is not None:
self.chat_history_conf = int(private_config["chat_history_conf"])
if private_config.get("mcp_endpoint", None) is not None:
self.config["mcp_endpoint"] = private_config["mcp_endpoint"]
try:
modules = initialize_modules(
self.logger,