-
Notifications
You must be signed in to change notification settings - Fork 382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] claude 有点问题请求都发不出去 #324
Comments
Title: [Bug] claude has some problems and cannot send requests. |
回滚合并多模型版本前的代码是可以的, |
It is possible to roll back the code before merging multiple model versions. |
是使用的claude官方API么? |
Are you using claude's official API? |
是的,已经发您Q 辛苦看看,能复现不 |
Yes, I have sent you the Q. Please take a look and see if you can reproduce it. |
修复了,试试看吧。 |
Fixed it, 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. |
现在的最新版本,确实还有问题,出现在anthropic无法调用插件的问题,经检查源码,问题出现在/ChatGPT-Next-Web-LangChain/blob/main/app/client/platforms/anthropic.ts中87行代码的这个函数上,toolAgentChat(options: AgentChatOptions): Promise { |
最新版是有这个问题,@Hk-Gosuto 这个版本对插件原生支持这块改的不彻底,自己熟悉源码的话,可以改下,让插件执行的时候不调用toolAgentChat即可。 |
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. |
今天晚些我再修改一下,之前同步上游代码的时候做了一些兼容处理,应该是处理的有些问题。 |
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. |
已修复,同时增加了几个新的 claude 3.5 模型的函数调用。 |
Fixed and added several new function calls for the claude 3.5 model. |
看了你同步主版本的插件原生调用代码,toolAgentChat函数可以去掉了,也能跑起来,但是完全去掉,RAG功能就不行了。 |
After looking at the native calling code of the plug-in you synchronized with the main version, I can see that the toolAgentChat function can be removed and it can run, but if it is completely removed, the RAG function will not work. |
主分支用的原生 API 插件调用的方式实现的,我这里是基于 langchian 的实现,目前还不能兼容,我再考虑后面移除 langchian 部分的函数调用并保留已有的插件。 |
The main branch is implemented using native API plug-in calls. My implementation here is based on langchian, which is not yet compatible. I will consider removing the langchian part of the function calls later and retaining the existing plug-ins. |
📦 Deployment Method
Vercel
📌 Version
lateset
💻 Operating System
macOS
📌 System Version
any
🌐 Browser
Chrome
📌 Browser Version
any
🐛 Bug Description
测试了下我自己部署的和大佬主页的
表现还不太一样,但是最终都是无请求出去,
如果需要key我稍后发送您的Q
📷 Recurrence Steps
No response
🚦 Expected Behavior
No response
📝 Additional Information
No response
The text was updated successfully, but these errors were encountered: