Browse Source

✨ feat: 改进MCP

Pchen. 1 month ago
parent
commit
7a6494328d
2 changed files with 2 additions and 2 deletions
  1. 1 1
      apis/MCP/McpRPC.js
  2. 1 1
      lib/Lepao/Mcp.js

+ 1 - 1
apis/MCP/McpRPC.js

@@ -81,7 +81,7 @@ class McpRpc extends API {
                         },
                         {
                             "name": "create_work_order",
-                            "description": "创建客服工单,遇到无法解决的问题可创建工单等待人工处理,参数email为用户联系方式,工单标题title不超过200字,内容content不超过100字",
+                            "description": "创建客服工单,遇到问题或建议可创建并等待人工处理,参数email为联系方式,工单标题title不超过20字,内容content不超过100字,标题和内容最好由你总结生成",
                             "inputSchema": {
                                 "type": "object",
                                 "properties": {

+ 1 - 1
lib/Lepao/Mcp.js

@@ -264,7 +264,7 @@ class Mcp {
             msg.push(message)
             const systemMsg = {
                 time,
-                content: `该问题由用户${sender}通过智能小妍提交~我们会尽快处理,请耐心等待`,
+                content: `该问题由用户${sender}通过小妍助理自动生成并提交~我们会尽快处理,请耐心等待`,
                 uuid: 'e4fe0277-0b1a-41a1-b25f-8b6e4cec3281',
                 type: 'system'
             }