C / core

Commit History

key-pool rotation: per-session OpenAI key assignment from OPENAI_KEY_01..10 (core/__init__.py)
2253017
verified

linxinhua commited on

key-pool rotation: per-session OpenAI key assignment from OPENAI_KEY_01..10 (core/logger.py)
a5e44fd
verified

linxinhua commited on

key-pool rotation: per-session OpenAI key assignment from OPENAI_KEY_01..10 (core/perfect_answer.py)
4580afc
verified

linxinhua commited on

key-pool rotation: per-session OpenAI key assignment from OPENAI_KEY_01..10 (core/config_loader.py)
9d5f105
verified

linxinhua commited on

Initial deploy of C (non-ca): no post-essay chat. Stripped chat additions from answer-ca base.
0a1d57f
verified

linxinhua commited on

B condition: add post-essay general chat. After perfect_answer is shown, msg_input + send_btn become interactive; on_send builds messages from case + initial_argument + perfect_answer (NOT discussion_plan) and calls LLM. Logs each chat turn via SessionLogger.add_turn(manager_verdict=None).
ba91955
verified

linxinhua commited on

Session-recovery propagated from socratic: hidden gr.Textbox (#recovery-payload) + Gradio .then(js=...) chains write/clear localStorage; on_submit_initial / on_end_session yield JSON events on their CONFIRM yields. RECOVERY_HEAD adds modal styling + window.__SOC_RECOVERY helpers; storage key no_ai_session_v1; touch-observer adapted (no chat input — watches chatbot clicks + arg_input edits). on_recover_session rebuilds chatbot as [case_display, user_arg, INTRO_MESSAGE, perfect_answer.text] (mirrors on_submit_initial yield 2) and re-activates the 60s snapshot_timer. SessionLogger.from_dict restores dominant_framework (no_ai's logger lacks argument_submitted_at, so that field is skipped).
81f0f87
verified

linxinhua commited on

UI parity with socratic/socratic-frame: (1) hide Gradio Chatbot top chrome via show_label=False + CSS for share/clear/delete/trash; (2) strip the '# Case: ...' H1 from the initial chatbot message via display-only CASE_TEXT_DISPLAY; (3) hide the left yellow feedback-hint column (guide-col visible=False) so chatbot expands left, and drop the bottom-row mirror column to keep action buttons aligned under right-col.
2cf117d
verified

linxinhua commited on

Format walkthrough_started_at + argument_submitted_at as ISO 8601 in payload
a25ff64
verified

linxinhua commited on

Add walkthrough_started_at field to logger (top of payload, preserved across start_session)
152dcfe
verified

linxinhua commited on

Deploy: perfect_answer prompt simplified to consequence-only (always generates plan; duty-rights / responsibility-character branches removed)
4e5ac21
verified

linxinhua commited on

Deploy: perfect_answer discussion_plan retry 1->2 (3 total attempts) to fix occasional empty-plan sessions
4d6214e
verified

linxinhua commited on

Deploy: no_ai control bot — chapters TOC + essay logging
ab7ad8b
verified

linxinhua commited on

Deploy: no_ai control bot — chapters TOC + essay logging
7b656eb
verified

linxinhua commited on

Deploy: no_ai control bot — chapters TOC + essay logging
f5f3917
verified

linxinhua commited on