
Process a completed Co-STORM turn asynchronously
Source:R/costorm-async.R
tempest_session_process_turn_async.RdUsage
tempest_session_process_turn_async(
session,
completion_id,
suggest = TRUE,
n_suggestions = 4L,
is_current = function() TRUE
)Arguments
- session
A TempestSession object.
- completion_id
Opaque, process-local completion identifier returned by
tempest_session_request_completion_async().- suggest
Whether to generate follow-up questions.
- n_suggestions
Maximum number of follow-up questions.
- is_current
Process-local predicate returning
TRUEwhile this work is allowed to commit. It is never retained in the result.
Details
Records a completed user and moderator exchange, then asynchronously commits cited evidence, updates the session mind map, and optionally generates follow-up questions. Enrichment failures are returned as typed notices so host applications can choose their own presentation. Stale work is cancelled before it can commit later pipeline stages.