chat-plugin-web-crawler icon indicating copy to clipboard operation
chat-plugin-web-crawler copied to clipboard

[Bug] 页面内容太长会报错

Open mushan0x0 opened this issue 1 year ago • 4 comments

💻 系统环境 | Operating System

macOS

🌐 浏览器 | Browser

Chrome

🐛 问题描述 | Bug Description

希望可以根据当前剩余token来限制读取内容的长度

🚦 期望结果 | Expected Behavior

No response

📷 复现步骤 | Recurrence Steps

image

📝 补充信息 | Additional Information

No response

mushan0x0 avatar Jan 14 '24 04:01 mushan0x0

👀 @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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

lobehubbot avatar Jan 14 '24 04:01 lobehubbot

这个感觉不太好做,剩余 token 是应用层面的信息,会话上下文如何感知?

arvinxx avatar Jan 14 '24 04:01 arvinxx

这个感觉不太好做,剩余 token 是应用层面的信息,会话上下文如何感知?

跟应用层通信的时候或许可以暴露一些上下文参数,这样插件在运行时可以进行一些判断

mushan0x0 avatar Jan 14 '24 04:01 mushan0x0

跟应用层通信的时候或许可以暴露一些上下文参数,这样插件在运行时可以进行一些判断

如果是这种,倒是可以

arvinxx avatar Jan 14 '24 10:01 arvinxx

目前看下来现在模型长度已经不是问题了

arvinxx avatar Sep 11 '24 17:09 arvinxx

✅ @mushan0x0
This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。

lobehubbot avatar Sep 11 '24 17:09 lobehubbot