INNER CODE UNIT · Python

start_new_conversation

pgalko/BambooAI · web_app/app.py:584

def start_new_conversation(session_id):
    # Clear the Datasets folder first
    clear_datasets_folder()

    prefs = user_preferences.get(session_id, {
        'planning': False, 
        'auxiliary_datasets': [],
        'df_id': None
    })
    
    # Clear datasets user_preferences for the current session
    prefs['auxiliary_datasets'] = []
    prefs['df_id'] = None
    
    # Workspace memory is untouched here by design: it is always-on at a
    # fixed path (user_memory_path) and survives conversations, dataset
    # switches, and restarts. See memory_pack_design.md.
    

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…