visible_messages
visible_messages
The transcript a browser may redraw, and nothing else. A static method.
chat_log hands back the conversation as the service holds it: the substituted system prompt first,
then tool calls and their results alongside the dialogue. Relaying that verbatim would publish your
prompt to anyone holding a handle. Only user and assistant turns with actual text survive,
reduced to role, content, and when they were said.
Parameters
messages
The raw messages, as returned by AIChatClient.log(). None yields an empty list.
Returns
list[dict[str, Any]] — each entry carries role and content. A timestamp is included only when
the source message contains a positive integer timestamp.
When included, the timestamp is in epoch seconds, converted from the source value in microseconds.