LibreChat-AI#16604 moves saveDrafts behind the host ChatSettings context for every chat reader except ChatView, which still reads store.saveDrafts and passes it to AskAnswerHostProvider (ChatView.tsx:61, :177). ChatView.tsx is owned by the open LibreChat-AI#15911, so it was left on the store.
Finding: LibreChat-AI#16604 (comment)
Once LibreChat-AI#15911 merges, have ChatView take saveDrafts from useChatSettings() (or let AskAnswerHostProvider read it from the context and drop the prop), so a host that supplies its own value drives ask-answer draft saving too. Inside the app the two sources hold the same value, so there is no user-visible divergence today.
LibreChat-AI#16604 moves
saveDraftsbehind the hostChatSettingscontext for every chat reader exceptChatView, which still readsstore.saveDraftsand passes it toAskAnswerHostProvider(ChatView.tsx:61,:177).ChatView.tsxis owned by the open LibreChat-AI#15911, so it was left on the store.Finding: LibreChat-AI#16604 (comment)
Once LibreChat-AI#15911 merges, have
ChatViewtakesaveDraftsfromuseChatSettings()(or letAskAnswerHostProviderread it from the context and drop the prop), so a host that supplies its own value drives ask-answer draft saving too. Inside the app the two sources hold the same value, so there is no user-visible divergence today.