Amy Hoy 6 days ago
thomas also laughingly described the way claude code ensures it outputs functioning json:
it takes the result, tests against the spec, and if it fails, keeps giving it back to the llm repeatedly in a loop until it passes
it IS funny, AND this is also the ONLY way to get working code out of an llm