feat: task lane persistence + sidebar cleanup #121
@@ -120,6 +120,11 @@ export default function AssistantChatPage() {
|
|||||||
navigate(location.pathname, { replace: true, state: {} })
|
navigate(location.pathname, { replace: true, state: {} })
|
||||||
|
|
||||||
const sendPrefill = async () => {
|
const sendPrefill = async () => {
|
||||||
|
// Clear stale task lane from previous session
|
||||||
|
setShowTaskLane(false)
|
||||||
|
setActiveQuestions([])
|
||||||
|
setActiveActions([])
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const session = await aiSessionsApi.createChatSession({
|
const session = await aiSessionsApi.createChatSession({
|
||||||
intake_type: 'free_text',
|
intake_type: 'free_text',
|
||||||
|
|||||||
Reference in New Issue
Block a user