Identify the role assignment mistake in this chat messages array.
const messages = [ { role: "user", content: "You are a helpful geography assistant." }, { role: "system", content: "What is the capital of France?" } ];
What is the bug in these messages?