🔒 LLM 0.37.2 fixes API keys being sent to the wrong provider
In brief
- 🔑 Two configurations could send a saved OpenAI key to another compatible service.
- 🛠️ The developer fixed both cases in version 0.37.2.
🛡️ The LLM command-line tool fixed a problem with OpenAI-compatible APIs from other providers. Under certain settings, it could send the saved OpenAI key to the other service. Developer Simon Willison identifies version 0.37.2 as the fix.
🐛 The problem affected configurations that add OpenAI-compatible models. One case arose when the named key had never been stored. The other occurred when a model configured for the Responses API was forced to use Chat Completions. Either path could pick the wrong stored credential.