Commit 5c1cb255 authored by 何家明's avatar 何家明

流式传输

parent 7a3eb46b
......@@ -123,7 +123,7 @@ class McpClient:
for data in self.customer_resource)
return customer_resource
else:
customer = list(filter(lambda c: c["customerId"] == customer_id, self.customer_resource))
customer = list(filter(lambda c: str(c["customerId"]) == customer_id, self.customer_resource))
if not customer:
return "访问受限,客户信息未配置!"
return f"""请使用下面的客户信息:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment