WireMessage:
| { content: string; role: "system" }
| { content: string; role: "user" }
| {
content: string;
role: "assistant";
tool_calls?: {
function: { arguments: string; name: string };
id: string;
type: "function";
}[];
}
| { content: string; role: "tool"; tool_call_id: string }