feat: 添加项目文档和配置更新
docs: 完善README文档结构和内容 refactor: 更新配置类注释和文档字符串 style: 统一代码格式和命名规范 fix: 修正MCP服务器配置和依赖项
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user