Skip to main content

Module ask

Module ask 

Source
Expand description

Ask: a read-only conversation about the project. What a turn shows — the model’s words, the reads it made, the citations code checked against those reads, and at most one proposal the person may confirm.

Citations are [r3] or [r3:12-20] in the answer, naming a read the engine issued; a citation counts only when that read happened in the same turn and the range lies inside it.

Structs§

AskConversations
ask --list / GET /api/ask/conversations.
AskReport
One Ask turn: the question, what was read, the answer and its sources.
AskResult
What a proposal confirmed from a conversation created.
AskThread
One conversation with its turns.
AskUsage
Tokens a turn used.
Chip
Something on screen given to the model as context.
Citation
A citation marker in the answer, checked against the turn’s reads.
Conversation
One conversation in a list.
Marker
A marker found in an answer.
Proposal
A change the model suggests, as code made it a person’s action.
ProposalFields
A proposal’s words; which ones a kind uses is the kind’s.
Read
A read the engine issued for a tool call.

Functions§

check
Each marker of answer against what this turn read and was given: a citation is read only when its id is one of them and its lines lie inside what was returned.
markers
Every [r3], [r3:12-20], [c1] or [c1:4] in answer, in order.