ikechan8370 / chatgpt-plugin

云崽系机器人的智能聊天插件
https://www.yunzai.chat/
GNU General Public License v3.0
998 stars 104 forks source link

关于Claude无法正常使用 #550

Closed Arosy666 closed 1 year ago

Arosy666 commented 1 year ago

请确保提出问题前更新到最新版本!!!!!!!!

请在提交issue前确认你已阅读了以下资料:

如果你的问题已经在readme或其他Issue中得到解答,我们很可能不会回复。请确保你的问题是一个新的问题。

问题描述

请在此处描述您遇到的问题,包括出现问题的环境、您试图实现的功能以及错误信息等。请尽可能详细,以便其他人可以在自己的环境中复制问题。

预期行为

请描述您期望系统在出现问题时应该做什么。

实际行为

请描述您实际看到的行为。

复制过程

请详细描述如何复制这个问题,包括所有必要的步骤、输入、任何错误信息以及输出。

环境

请提供您使用的任何相关信息,例如操作系统、版本、配置等。

可能的解决方案

如果您已经尝试了一些解决方案,请在此处描述这些解决方案,并说明是否有效。

附加信息

如果有任何其他信息,如日志、截图等,请在此处提供。

以下是日志: [MiaoYz][15:22:42.863][MARK] [ChatGpt 对话][newClaudeConversation][私聊][If(1783920087)] #claude开启新对话 [DEBUG] web-api:WebClient:8 initialized [DEBUG] bolt-app Initializing HTTPReceiver [DEBUG] web-api:WebClient:8 apiCall('auth.test') start [DEBUG] web-api:WebClient:8 http request url: https://slack.com/api/auth.test [DEBUG] web-api:WebClient:8 http request body: {"token":"[[REDACTED]]"} [DEBUG] web-api:WebClient:8 http request headers: {"Authorization":"[[REDACTED]]"} [DEBUG] web-api:WebClient:8 apiCall('conversations.list') start [DEBUG] web-api:WebClient:8 http request url: https://slack.com/api/conversations.list [DEBUG] web-api:WebClient:8 http request body: {"token":"[[REDACTED]]","types":"public_channel,private_channel"} [DEBUG] web-api:WebClient:8 http request headers: {"Authorization":"[[REDACTED]]"} [DEBUG] web-api:WebClient:8 http response received [DEBUG] web-api:WebClient:8 http request result: {"ok":true,"url":"https://w1681569712-3l6917094.slack.com/","team":"新的工作空間","user":"chatgptplugin","team_id":"T053PYTU","user_id":"U05NPKLZ","bot_id":"B05N65TM","is_enterprise_install":false,"response_metadata":{"scopes":["channels:history","groups:history","im:history"]}} [DEBUG] web-api:WebClient:8 apiCall('auth.test') end [DEBUG] web-api:WebClient:8 http response received [DEBUG] web-api:WebClient:8 http request result: {"ok":true,"channels":[{"id":"C053ASL6RK7","name":"推的孩子","is_channel":true,"is_group":false,"is_im":false,"is_mpim":false,"is_private":false,"created":1681569777,"is_archived":false,"is_general":false,"unlinked":0,"name_normalized":"推的孩子","is_shared":false,"is_org_shared":false,"is_pending_ext_shared":false,"pending_shared":[],"context_team_id":"T053DQYPYTU","updated":1681569777189,"parent_conversation":null,"creator":"U053G9HE0F6","is_ext_shared":false,"shared_team_ids":["T053DQYPYTU"],"pending_connected_team_ids":[],"is_member":false,"topic":{"value":"","creator":"","last_set":0},"purpose":{"value":"此頻道可滿足 #推的孩子 的一切需求,可以在此舉辦會議、分享文件以及和團隊一起做決策。","creator":"U053G9HE0F6","last_set":1681569777},"previous_names":[],"num_members":0},{"id":"C053G9HECLU","name":"隨機","is_channel":true,"is_group":false,"is_im":false,"is_mpim":false,"is_private":false,"created":1681569713,"is_archived":false,"is_general":false,"unlinked":0,"name_normalized":"隨機","is_shared":false,"is_org_shared":false,"is_pending_ext_shared":false,"pending_shared":[],"context_team_id":"T053DQYPYTU","updated":1681569713354,"parent_conversation":null,"creator":"U053G9HE0F6","is_ext_shared":false,"shared_team_ids":["T053DQYPYTU"],"pending_connected_team_ids":[],"is_member":true,"topic":{"value":"","creator":"","last_set":0},"purpose":{"value":"這個頻道適合……呃 ,除了這個都很適合。這裡是團隊說笑、分享奇思異想和秀出有趣 GIF 的園地。盡情大展身手吧!","creator":"U053G9HE0F6","last_set":1681569713},"previous_names":[],"num_members":3},{"id":"C053SDV4389","name":"一般","is_channel":true,"is_group":false,"is_im":false,"is_mpim":false,"is_private":false,"created":1681569713,"is_archived":false,"is_general":true,"unlinked":0,"name_normalized":"一般","is_shared":false,"is_org_shared":false,"is_pending_ext_shared":false,"pending_shared":[],"context_team_id":"T053DQYPYTU","updated":1681569713155,"parent_conversation":null,"creator":"U053G9HE0F6","is_ext_shared":false,"shared_team_ids":["T053DQYPYTU"],"pending_connected_team_ids":[],"is_member":true,"topic":{"value":"","creator":"","last_set":0},"purpose":{"value":"這個頻道將會一直廣納多元的聲音。這裡很適合發布公告和進行團隊對話。","creator":"U053G9HE0F6","last_set":1681569713},"previous_names":[],"num_members":4}],"response_metadata":{"next_cursor":"dGVhbTpDMDVCWEI4RlUzQw==","scopes":["identify","channels:history","groups:history","im:history","mpim:history","channels:read","groups:read","mpim:read","channels:write","chat:write","groups:write","im:write","mpim:write"],"acceptedScopes":["channels:read","groups:read","mpim:read","im:read","read"]}} [DEBUG] web-api:WebClient:8 apiCall('conversations.list') end [DEBUG] web-api:WebClient:8 apiCall('conversations.create') start [DEBUG] web-api:WebClient:8 http request url: https://slack.com/api/conversations.create [DEBUG] web-api:WebClient:8 http request body: {"token":"[[REDACTED]]","name":"1783920087","is_private":true} [DEBUG] web-api:WebClient:8 http request headers: {"Authorization":"[[REDACTED]]"} [DEBUG] web-api:WebClient:8 http response received [DEBUG] web-api:WebClient:8 http request result: {"ok":false,"error":"name_taken","response_metadata":{"scopes":["identify","channels:history","groups:history","im:history","mpim:history","channels:read","groups:read","mpim:read","channels:write","chat:write","groups:write","im:write","mpim:write"],"acceptedScopes":["channels:write","groups:write","mpim:write","im:write","post"]}} [MiaoYz][15:22:43.923][ERRO] [ChatGpt 对话][newClaudeConversation] [MiaoYz][15:22:43.924][ERRO] Error: An API error occurred: name_taken at platformErrorFromResult (C:\Users\1783920087_156358741\Desktop\mz\Miao-Yunzai\node_modules.pnpm\@slack+web-api@6.8.1\node_modules\@slack\web-api\dist\errors.js:56:33) at WebClient.apiCall (C:\Users\1783920087_156358741\Desktop\mz\Miao-Yunzai\node_modules.pnpm\@slack+web-api@6.8.1\node_modules\@slack\web-api\dist\WebClient.js:181:56) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async SlackClaudeClient.sendMessage (file:///C:/Users/1783920087_156358741/Desktop/mz/Miao-Yunzai/plugins/chatgpt-plugin/utils/slack/slackClient.js:53:37) at async chatgpt.newClaudeConversation (file:///C:/Users/1783920087_156358741/Desktop/mz/Miao-Yunzai/plugins/chatgpt-plugin/apps/chat.js:2186:18) at async PluginsLoader.deal (file:///C:/Users/1783920087_156358741/Desktop/mz/Miao-Yunzai/lib/plugins/loader.js:269:54)

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 1 year ago

This issue was closed because it has been stalled for 5 days with no activity.