Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Commit History
-
Multi-login + persisted chat history
Robert Olinger- Replace single students login with four named logins (robert, pino, udayan, students) via scripts.lib.chat.auth.build_auth. - New scripts.lib.chat.history_pusher: daemon-thread singleton that ships derived/student-chat/turns.jsonl to a private HF Dataset (defenestrate/me-chat-logs) every 10 turns or 60s of idle. - ChatOrchestrator records user_login per turn (via gr.Request.username) in success and failure turn records. - turn_log gains _LOG_LOCK + snapshot() so the pusher reads atomically. Activated by HF_TOKEN + ME_CHAT_HISTORY_DATASET_REPO_ID Space secrets; no-op locally.1f7e250