feat: 添加一键启动脚本并更新项目配置

- 添加 start_all.sh 一键启动脚本,支持启动llama-server和FastAPI服务
- 修改启动脚本使用venv虚拟环境替代conda环境
- 更新README.md,添加一键启动脚本使用说明
- 更新py_tree_generator.py,添加final_prompt返回字段
- 禁用Qwen3模型的思考功能
- 添加RAG检索结果的终端打印
- 移除ROS2相关代码(ros2_client.py已删除)
This commit is contained in:
2025-12-02 21:42:26 +08:00
parent ab6e09423b
commit a6c2027caa
9 changed files with 625 additions and 822 deletions

View File

@@ -22,7 +22,8 @@ class ConnectionManager:
def broadcast(self, message: str):
"""
Thread-safely broadcasts a message to all active WebSocket connections.
This method is designed to be called from a different thread (e.g., a ROS2 callback).
This method is designed to be called from a different thread.
(Note: ROS2 callback support has been removed as the project is decoupled from ROS2)
"""
if not self.loop:
logging.error("Event loop not set in ConnectionManager. Cannot broadcast.")