mcp,生成数据代码
This commit is contained in:
4
test_mars_toolkit.py
Normal file → Executable file
4
test_mars_toolkit.py
Normal file → Executable file
@@ -155,7 +155,7 @@ def print_tool_schemas():
|
||||
|
||||
if __name__ == "__main__":
|
||||
# 打印所有工具函数的模式
|
||||
#print_tool_schemas()
|
||||
print_tool_schemas()
|
||||
|
||||
# 测试工具函数列表
|
||||
tools_to_test = [
|
||||
@@ -172,7 +172,7 @@ if __name__ == "__main__":
|
||||
]
|
||||
|
||||
# 选择要测试的工具
|
||||
tool_name = tools_to_test[1] # 测试 search_online 工具
|
||||
tool_name = tools_to_test[2] # 测试 search_online 工具
|
||||
|
||||
# 运行测试
|
||||
result = asyncio.run(test_tool(tool_name))
|
||||
|
||||
Reference in New Issue
Block a user