fix(chat): 解决聊天停止按钮在无任务ID时的禁用状态
- 在Send组件中添加taskId检查,当无任务ID时禁用停止按钮 - 为停止按钮添加cursor-not-allowed和opacity-50样式类 - 在ChatRespondingContext中添加taskId属性支持 - 在useChat hook中返回taskId到组件状态 - 修复ChatContextProvider的useMemo依赖数组问题
Showing
5 changed files
with
22 additions
and
8 deletions
-
Please register or sign in to post a comment