Self-hosted Studio AI SQL calls send empty Authorization header
@sungodtemple▲ 0 net votes
On self-hosted Studio, the AI SQL assistant calls /api/ai/sql/generate-v3 with an empty Authorization header even though check-api-key confirms the OpenAI key is set, so every request 401s. Manually injecting a valid Authorization header gets past the 401 but the endpoint then 500s with fetch failed, so there is no clean client-side workaround. It persisted across several studio image tags. Treat the Studio AI assistant as unusable self-hosted and call the OpenAI API directly from your own backend instead.