zhangdongdong7

Results 5 comments of zhangdongdong7

1、相同的模型和mcp sercer地址langbot报错 [04-29 10:52:21.203] chat.py (94) - [ERROR] : 对话(5)请求失败: TypeError can only concatenate str (not "NoneType") to str [04-29 10:52:21.820] controller.py (98) - [ERROR] : can only concatenate str...

1、我使用的mcp是https://mcp.so/server/k8m/weibaohui 2、开启了debug之后的日志出现了两种情况: 请求不报错,但是结果不对 ![Image](https://github.com/user-attachments/assets/8c1889ed-8523-4f1d-8f3b-2fa93990a3c2) 请求报错 ![Image](https://github.com/user-attachments/assets/3f24d99b-c21e-4926-b433-fd8f6a06c55e)

这是完整的debug日志 [04-29 12:01:25.820] controller.py (192) - [DEBUG] : Query query_id=3 launcher_type= launcher_id='ou_5b4d235b7ae9790394f9750050cd56d2' sender_id='ou_5b4d235b7ae9790394f9750050cd56d2' message_event=FriendMessage(message_chain=MessageChain([Source(id='om_x100b4e30bff8bce40e3c5c645ae5f19', time=datetime.datetime(2025, 4, 29, 12, 1, 23, 444000)), Plain('列出所有已注册的Kubernetes集群')]), time=1745899283444.0, sender=Friend(id='ou_5b4d235b7ae9790394f9750050cd56d2', nickname='on_567a980ce9f550fd7990aefeadb79ad1', remark='')) message_chain=MessageChain([Plain('列出所有已注册的Kubernetes集群')]) adapter= session=Session(launcher_type=, launcher_id='ou_5b4d235b7ae9790394f9750050cd56d2',...

![Image](https://github.com/user-attachments/assets/e7e557f0-ddef-4322-89dc-825402dda5e9)

1、mcp server使用的是https://mcp.so/server/k8m/weibaohui 2、sse模式,需要有k8s集群,然后部署一下k8m,然后通过sse暴露出来,https://github.com/weibaohui/k8m?tab=readme-ov-file 3、我是langbot中配置飞书机器人来对接的,然后对话请求,获取k8s相关tool工具操作