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