AxChatLogMessage
type AxChatLogMessage =
| {
content: string;
role: "system";
}
| {
content: string;
role: "user";
}
| {
content: string;
role: "assistant";
}
| {
content: string;
name: string;
role: "tool";
};Defined in: https://github.com/ax-llm/ax/blob/686f8ba96cf652e044cf922b67c16c8f09754a70/src/ax/dsp/types.ts#L449
A normalized chat message with standard roles: system, user, assistant, tool.
Assistant content uses inline XML: <think> for reasoning, <tool_call> for tool invocations.