feat: 添加项目文档和配置更新

docs: 完善README文档结构和内容
refactor: 更新配置类注释和文档字符串
style: 统一代码格式和命名规范
fix: 修正MCP服务器配置和依赖项
This commit is contained in:
2025-11-07 15:50:22 +08:00
parent 6a9f28bac0
commit bb91a68c78
13 changed files with 5022 additions and 54 deletions

View File

@@ -13,7 +13,7 @@ from lang_agent.config import InstantiateConfig, ToolConfig
from lang_agent.dummy.calculator import Calculator, CalculatorConfig
from lang_agent.tool_manager import ToolManager, ToolManagerConfig
from catering_end.lang_tool import CartToolConfig, CartTool
# from catering_end.lang_tool import CartToolConfig, CartTool
@tyro.conf.configure(tyro.conf.SuppressFixed)
@dataclass
@@ -22,7 +22,7 @@ class MCPServerConfig(InstantiateConfig):
server_name:str = "langserver"
host: str = "6.6.6.78"
host: str = "127.0.0.1"
"""host of server"""
port: int = 50051