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/e690b4823b8309e258594064abe941d4cff6ef89/src/ax/dsp/types.ts#L410
A normalized chat message with standard roles: system, user, assistant, tool.
Assistant content uses inline XML: <think> for reasoning, <tool_call> for tool invocations.