Hk-Gosuto / ChatGPT-Next-Web-LangChain

一键拥有你自己的 ChatGPT 网页服务。 One-Click to deploy your own ChatGPT web UI.(基于 langchain 实现的插件版本 Plugin version implemented based on langchain)
https://n3xt.chat
MIT License
1.15k stars 383 forks source link

[Bug] claude 有点问题请求都发不出去 #324

Closed MuRo-J closed 4 days ago

MuRo-J commented 6 days ago

📦 Deployment Method

Vercel

📌 Version

lateset

💻 Operating System

macOS

📌 System Version

any

🌐 Browser

Chrome

📌 Browser Version

any

🐛 Bug Description

测试了下我自己部署的和大佬主页的 CleanShot 2024-11-20 at 21 38 33 表现还不太一样,但是最终都是无请求出去, 如果需要key我稍后发送您的Q

📷 Recurrence Steps

No response

🚦 Expected Behavior

No response

📝 Additional Information

No response

Issues-translate-bot commented 6 days ago

Bot detected the issue body's language is not English, translate it automatically.


Title: [Bug] claude has some problems and cannot send requests.

MuRo-J commented 6 days ago

回滚合并多模型版本前的代码是可以的, 对前端代码苦手,无法定位原因啦,辛苦您

Issues-translate-bot commented 6 days ago

Bot detected the issue body's language is not English, translate it automatically.


It is possible to roll back the code before merging multiple model versions. I’m struggling with the front-end code, but I can’t pinpoint the reason. Thank you for your hard work.

Hk-Gosuto commented 5 days ago

是使用的claude官方API么?

Issues-translate-bot commented 5 days ago

Bot detected the issue body's language is not English, translate it automatically.


Are you using claude's official API?

MuRo-J commented 5 days ago

是使用的claude官方API么?

是的,已经发您Q 辛苦看看,能复现不

Issues-translate-bot commented 5 days ago

Bot detected the issue body's language is not English, translate it automatically.


Are you using claude's official API?

Yes, I have sent you the Q. Please take a look and see if you can reproduce it.

Hk-Gosuto commented 4 days ago

修复了,试试看吧。

Issues-translate-bot commented 4 days ago

Bot detected the issue body's language is not English, translate it automatically.


Fixed it, give it a try.

MuRo-J commented 4 days ago

修复了,试试看吧。

感谢感谢辛苦了,插件按钮是不能点亮的,否则还是会出现,这个是预期内的不

Issues-translate-bot commented 4 days ago

Bot detected the issue body's language is not English, translate it automatically.


Fixed, give it a try.

Thank you for your hard work. The plug-in button cannot be lit, otherwise it will still appear. This is unexpected.

laxfer commented 1 day ago

修复了,试试看吧。

现在的最新版本,确实还有问题,出现在anthropic无法调用插件的问题,经检查源码,问题出现在/ChatGPT-Next-Web-LangChain/blob/main/app/client/platforms/anthropic.ts中87行代码的这个函数上,toolAgentChat(options: AgentChatOptions): Promise { throw new Error("Method not implemented."); },从代码分析来看,你这边想改成ChatGPT-Next-Web主版本插件的原生调用,但是anthropic在调用插件的时候,还是执行到了toolAgentChat函数里面了,导致不输出结果。同样openai的虽然写了插件原生调用的代码,但是执行插件调用的时候,还是执行到了toolAgentChat函数里面。

laxfer commented 1 day ago

修复了,试试看吧。

感谢感谢辛苦了,插件按钮是不能点亮的,否则还是会出现,这个是预期内的不

最新版是有这个问题,@Hk-Gosuto 这个版本对插件原生支持这块改的不彻底,自己熟悉源码的话,可以改下,让插件执行的时候不调用toolAgentChat即可。

Issues-translate-bot commented 1 day ago

Bot detected the issue body's language is not English, translate it automatically.


Fixed, give it a try.

Thank you for your hard work. The plug-in button cannot be lit, otherwise it will still appear. This is unexpected.

The latest version has this problem. @Hk-Gosuto This version has not completely changed the native support for plug-ins. If you are familiar with the source code, you can change it so that toolAgentChat is not called when the plug-in is executed.

Hk-Gosuto commented 1 day ago

今天晚些我再修改一下,之前同步上游代码的时候做了一些兼容处理,应该是处理的有些问题。

Issues-translate-bot commented 1 day ago

Bot detected the issue body's language is not English, translate it automatically.


I will make some modifications later today. I did some compatibility processing when synchronizing the upstream code. It should be that there are some problems.

Hk-Gosuto commented 1 day ago

已修复,同时增加了几个新的 claude 3.5 模型的函数调用。

Issues-translate-bot commented 1 day ago

Bot detected the issue body's language is not English, translate it automatically.


Fixed and added several new function calls for the claude 3.5 model.