Spaces:
Sleeping
Sleeping
Commit History
-
Move perception's default model from gpt-4.1-nano to gpt-4.1-miniβ
Benchmarked with a dedicated 7-scenario harness (debug_perception_comparison.py, scenarios chosen to avoid classify_perception's hardcoded keyword-gate overrides so they actually test the LLM's own judgment): nano missed 2 of 7 β recognizing standalone conversational brevity, and picking the right tactic for a nostalgic register. mini matched Claude Haiku 4.5 and Sonnet 5 on every scored case, at a fraction of their cost β no case found where the larger models outperform mini here, so mini is the right default rather than an upgrade to Haiku/Sonnet. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>07db8f5
-
Add per-step model override dashboard for classification/perception/replyβ
classify_perception.py and classify_chat_helper.py previously bypassed the Fast/Smart mode toggle entirely, hardcoded to OpenAI models via a raw openai.OpenAI() client. Switches both to the shared litellm-backed client so Anthropic models are reachable, adds an optional model= override threaded from the request body through run_chat_app, and exposes it in the web Settings panel as three dropdowns (Default/Haiku/Sonnet per step) for testing cost/quality tradeoffs independently of the existing Fast/Smart toggle. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>be7b2a8
-
refactor: systematic rename of all modules + SQL reorganisationβ
Python renames (prefix-based naming convention): Agent_* dialogue agents β dialogue_maieutic / dialogue_pragmatic (+ helpers) Agent_* classifiers β classify_chat / classify_perception / classify_life_event supabase_*.py β db_socratic / db_pragmatic / db_life_events / db_user *_utils.py β util_loop_hierarchy / util_philosophy_threads / util_story_chapters / util_topic_log / util_cross_character / util_geo / util_push / util_translate / util_retrieve / util_agent / util_llm proactive_pipeline β pipeline_proactive Prompt_building β prompt_building ask_llm_final_prompt β prompt_final Classification_parameters β classify_parameters db6_topic_logger β db_topic_logger Deleted: Agent_Socratic_Dialogue.py (legacy, superseded by dialogue_maieutic.py) Deleted: dialogues_socrates.json (unused) SQL reorganisation:β¦a5a8164