At the Claude level, this is a sign that it was called without any user message. e.g. you get the same error outside Dust using (note empty message list):
res = await anthropic_client.messages.create(
model="claude-3-5-sonnet-latest",
max_tokens=8000,
messages=list(),
)
Need to figure out why Dust ends up making a call like this.