Skip to content

Commit 0fae092

Browse files
pescnclaude
andcommitted
feat: add per-provider HTTP proxy support and fix model re-creation bug
Add configurable HTTP proxy for each upstream provider, using Bun's native fetch proxy support. Also fix a bug where re-creating a model with the same name after soft-deletion would fail due to unique constraint violation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 5bc658f commit 0fae092

22 files changed

Lines changed: 1699 additions & 38 deletions
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ALTER TABLE "providers" ADD COLUMN "proxy_url" varchar(255);--> statement-breakpoint
2+
ALTER TABLE "providers" ADD COLUMN "proxy_enabled" boolean DEFAULT false NOT NULL;

0 commit comments

Comments
 (0)