chat-plugin-web-crawler
chat-plugin-web-crawler copied to clipboard
[Bug] 页面内容太长会报错
💻 系统环境 | Operating System
macOS
🌐 浏览器 | Browser
Chrome
🐛 问题描述 | Bug Description
希望可以根据当前剩余token来限制读取内容的长度
🚦 期望结果 | Expected Behavior
No response
📷 复现步骤 | Recurrence Steps
📝 补充信息 | Additional Information
No response
👀 @mushan0x0
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。
这个感觉不太好做,剩余 token 是应用层面的信息,会话上下文如何感知?
这个感觉不太好做,剩余 token 是应用层面的信息,会话上下文如何感知?
跟应用层通信的时候或许可以暴露一些上下文参数,这样插件在运行时可以进行一些判断
跟应用层通信的时候或许可以暴露一些上下文参数,这样插件在运行时可以进行一些判断
如果是这种,倒是可以
目前看下来现在模型长度已经不是问题了
✅ @mushan0x0
This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。