Spaces:
Sleeping
Sleeping
Commit History
-
Harden Expert Persona builder and add model suggestion.
Jordan Miller +1: CursorRoute role-prompt generation through a neutral writer model to prevent Neon character identity bleed, and add a suggest-model flow that prioritizes the user's source description over the generated prompt. Co-authored-by: Cursor <cursoragent@cursor.com>1961f74
-
feat(limits): expose repetition / failsafe limits in settings menu
NeonClary +1: CursorHard-coded repetition counts in orchestrator (critique rounds, status-assessment iterations, consensus turn budget, dyad cap, stall recovery, auto-disable threshold) and the failsafe pause points are now driven by a `ConversationLimits` dataclass on `Session`. Defaults match the historical values; the API layer clamps user-supplied overrides to per-field bounds. Frontend: new "Conversation limits..." item under an "Advanced" section in the settings menu, opens a modal with steppers + descriptions grouped into Discussion structure / Reliability / Failsafes. Overrides persist via localStorage and ride along on /chat/start. Backend: GET /api/chat/limits/defaults serves defaults + bounds + descriptions so the modal is server-driven; new test_conversation_limits.py covers clamping behavior and endpoint shape (60 backend tests pass). Co-authored-by: Cursor <cursoragent@cursor.com>1ec996f -
Surface Credential Summary in settings + exports
NeonClary +1: CursorAdd a transparency section so users can see and download the orchestrator-generated Credential Summary (per-participant expertise, debating style, credibility on this question, biases to watch). Built after Phase 1 and refreshed once after Phase 2. Backend: - New GET /api/chat/{session_id}/credentials endpoint. - Credentials block included in TXT and MD exports after the participants list, omitted cleanly when the summary isn't built yet. - CSV table gains four columns (Expertise, Style, Credibility 0-1, Bias to watch) inserted between Participant and First opinion so the row reads as a self-contained narrative. - New `credentials_updated` SSE event fires after the Phase-1.5 build and after the Phase-3 refresh (only when the payload actually changes), so the frontend can cache the latest snapshot without polling. Frontend: - New CredentialSummaryModal: per-participant cards with name, expertise, style, bias, and a 0-1 credibility bar. - "View Credential Summary..." it…64d902c -
Tighten CCAI conversation flow and visual threading
NeonClary +1: CursorThe CCAI demo's first end-to-end runs surfaced several UX and prompt issues. This commit addresses them across the orchestrator, prompt templates, transport, and chat UI. Conversation flow: - Each per-speaker prompt (CRITIQUE, FINALIZATION, CONSENSUS_ALLIED, CONSENSUS_SOLO) now opens with an "Open threads directed at you since your last turn" block populated by `_pending_addressed_for`. The templates instruct participants to address those threads FIRST, then their phase-specific contribution. Dropped CONSENSUS_TARGETED_RESPONSE in favor of this unified path. - Status-assessment follow-ups use a hybrid prompt: orchestrator prefers surfacing unanswered participant-to-participant questions verbatim (attributed to the asker) and only synthesizes its own when none exist. New `asker_participant_id` field in the JSON output. - Consensus phase caps consecutive addressed-to (dyadic) routings at 2 before forcing a round-robin pick, so two participants can't monopolize the fl…a763505 -
Build CCAI Vibe Demo on top of LLMChats3 baseline
NeonClary +1: CursorMulti-participant Collaborative Conversational AI demo: the orchestrator runs a six-phase state machine (Initial Opinions, Critique x2, Status Assessment, Finalization, Consensus, Closure), produces a JSON Credential Summary keyed on credibility-for-question, and routes addressed-to messages through alliance detection. Two failsafes - 60+20 participant messages and 100+50 orchestrator calls - pause the loop until the user clicks Continue. Every LLM response is funneled through a centralized strip_thinking sanitizer before being stored, displayed, or fed back to the summarizer. Backend - New: services/{models,prompts/*,credential,consensus,context_budget, json_calls,extra_personas,orchestrator}.py, utils/sanitize.py, api/personas.py, data/demo_questions.json (10 long-context prompts). - Rewrote api/chat.py with /chat/start (N participants, summarizer + max-participants overrides), /chat/{id}/continue, table-view + csv-table exports. - Rate limit bumped to 30/day per IP; HF org …0bb4dfa