Skip to content

Add follow-up questions, revision citations, CLI persistence, provide…#15

Merged
msitarzewski merged 1 commit intomainfrom
followups-revisions-cli-persistence
Mar 9, 2026
Merged

Add follow-up questions, revision citations, CLI persistence, provide…#15
msitarzewski merged 1 commit intomainfrom
followups-revisions-cli-persistence

Conversation

@msitarzewski
Copy link
Owner

…r updates

Follow-up questions: generate_followups() uses cheapest model with JSON mode to suggest 3 post-consensus follow-up questions. Stored in followups_json on Thread model, displayed as clickable items in ConsensusNav/ThreadNav sidebar. _run_consensus returns 8-tuple (added followups), all callers updated.

Revision citations: handle_revise() now accepts tool_registry + web_search, extracts citations. revision_citations on ConsensusContext + RoundResult, persisted to DB, included in Sources nav.

CLI persistence: persist_consensus() saves full round history to DB from CLI. Top-level --rounds/--challengers cascade to subcommands. _parse_challengers() accepts int count or comma-separated model refs.

Calibration date filters: category + since/until inputs on CalibrationDashboard.

OpenAI: reasoning_effort high for GPT-5.x (no tools), gpt-5.2 catalog entry.
Perplexity: retry for APIConnectionError (2 attempts, 1s delay).
Alembic: DUH_DATABASE_URL env var overrides alembic.ini.

…r updates

Follow-up questions: generate_followups() uses cheapest model with JSON mode
to suggest 3 post-consensus follow-up questions. Stored in followups_json on
Thread model, displayed as clickable items in ConsensusNav/ThreadNav sidebar.
_run_consensus returns 8-tuple (added followups), all callers updated.

Revision citations: handle_revise() now accepts tool_registry + web_search,
extracts citations. revision_citations on ConsensusContext + RoundResult,
persisted to DB, included in Sources nav.

CLI persistence: persist_consensus() saves full round history to DB from CLI.
Top-level --rounds/--challengers cascade to subcommands. _parse_challengers()
accepts int count or comma-separated model refs.

Calibration date filters: category + since/until inputs on CalibrationDashboard.

OpenAI: reasoning_effort high for GPT-5.x (no tools), gpt-5.2 catalog entry.
Perplexity: retry for APIConnectionError (2 attempts, 1s delay).
Alembic: DUH_DATABASE_URL env var overrides alembic.ini.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@msitarzewski msitarzewski merged commit 2d6aa44 into main Mar 9, 2026
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant