Admin: list and restart running generations with the models set now
- Modellek page: analyses and answers being written or waiting, with their model and the one a restart would use; restart one or all - Each attempt's started_at is its token: a restarted attempt still running in the worker cannot write its result and is dropped within 10 seconds Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -66,7 +66,7 @@ async fn find_question(db: &PgPool, id: Uuid) -> Result<Option<QuestionRow>, sql
|
||||
|
||||
/// The question model (and its fallback) and the version of the question
|
||||
/// prompt in force.
|
||||
async fn model_and_version(
|
||||
pub(super) async fn model_and_version(
|
||||
state: &crate::AppState,
|
||||
language: &str,
|
||||
) -> Result<(String, Option<String>, String), sqlx::Error> {
|
||||
|
||||
Reference in New Issue
Block a user