refactor(base): 重构聊天组件并优化状态管理
- 新增 useChatStore 用于全局状态管理 - 重构 ChatWrapper 组件,使用新的聊天上下文 - 更新 Answer、Operation、ChatInputArea 等组件以使用新状态 - 优化 Footer 组件,移除不必要的 useMemo - 调整 Practice、StopResponding、TryToAsk 组件以适应新逻辑
Showing
18 changed files
with
246 additions
and
100 deletions
app/components/base/chat/chat/body/index.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment