Quiz 8 Question 7 of 20

An agent for generating database migrations is frequently producing incorrect output. A developer reviews the logs and concludes the model is reasoning incorrectly about the schema, so they rewrite the reasoning instructions in the system prompt. After the change, the failures persist at the same rate. A deeper log review later reveals the agent was calling a get_schema tool with the wrong parameter format, receiving empty results, and then reasoning about an empty schema. What was the misdiagnosis?

Select an answer to reveal the explanation.

Motivation