Structs§
Functions§
- attach_
turn_ citations_ to_ message - Points the citations of the conversation’s newest turn at
conversation_message_id, the message whose text cites them. - get_
by_ conversation_ id - get_
by_ message_ id - insert
- insert_
batch - Insert a batch of citation from the same conversation
- max_
citation_ number_ in_ turn - The highest citation number already used by a tool call in the turn still in progress, or
Noneif the turn has cited nothing yet. A new search tool numbers its own hits starting after this rather than from zero, since a whole turn’s citations end up on one message (seeattach_turn_citations_to_message) and would otherwise collide with an earlier search’s numbers. Scoped identically to that function’s own subquery.