Commit 6506b05
committed
feat: Add OpenAI provider support for AI assistance
Enables using OpenAI-compatible endpoints (OpenAI, Azure OpenAI, OpenRouter,
LiteLLM proxies) as an alternative to Anthropic for AI-powered query assistance.
Adds support for custom headers (X-Client-Id, X-Username) and request body
customization via AI_EXTRA_BODY for proxy/gateway compatibility. Enhances
error logging with detailed API call diagnostics.
Also upgrades sql-formatter to 15.7.0 to address breaking API changes.1 parent 470b2c2 commit 6506b05
File tree
6 files changed
+43683
-8218
lines changed- packages
- api
- src
- controllers
- routers/api
- common-utils/src
6 files changed
+43683
-8218
lines changed
0 commit comments