Results 6 comments of Scott_N_Yang

Any updates on this issue? I need this feature very much.

Thanks. I just found same problem and wanne see if there already a pull request.

> 用的开源的数据集训练了100轮,感觉精度一般,特别是检测速度很难接受。。。。。。 不知道换yolov8效果怎么样。 数据集地址:https://universe.roboflow.com/onmyoji/onmyoji-demon-parade 巧了,看到我自己的数据集了……说来惭愧,确实数据质量不高

I have the same suggestion. If you can record every interaction between the Agent and the browser (selector, action, parameters), maybe we can quickly build an RPA process and reuse...

1. 前端停止发送按钮的事件拦截部分参考 https://github.com/ant-design/pro-chat/issues/296#issuecomment-2302705223 2. 后端需要提前维护一个异步任务的Ref(比如Java中的Future),且与发送消息动作能够唯一关联(比如:Map ,key是发送的用户消息id,value就是调用大模型接口的异步任务的Future引用) 3. 可以在点击停止输出按钮后调用一个后端接口,这个接口负责找到对应的Future进行`future.cancel(true);`

可以试试这个方案 ```tsx interface State { isSending: boolean } const YouComponent = () => { const [state, setState] = useSetState({ isSending: false }); ``` ```tsx setState({isSending: true})} onChatEnd={() => setState({isSending: false})}...