Elffuss BraidHub

kikocis/continue public

fix: use on prem proxy
Changeset509642819b9dd1159a925b1455b050ddacefed248fdd1ab267c7836a13a0d2f5
AuthorNate <sestinj@gmail.com> · 2025-08-28 14:00 -07:00
CommitterNate <sestinj@gmail.com> · 2025-08-28 14:00 -07:00
Parentse98588f7652f

Browse the files at this changeset

2 files changed

modified extensions/cli/src/configLoader.ts +1 −1
@@ -353,7 +353,7 @@
353353 }
354354
355355 // Unroll locally if not logged in
356- if (!(apiClient as any).configuration.apiKey) {
356+ if (!(apiClient as any).configuration.accessToken) {
357357 return await unrollAssistantWithConfig(
358358 {
359359 uriType: "slug",
modified extensions/cli/src/services/ModelService.ts +2 −2
@@ -102,7 +102,7 @@
102102 env: {
103103 apiKeyLocation: (selectedModel as any).apiKeyLocation,
104104 orgScopeId: organizationId,
105- proxyUrl: undefined,
105+ proxyUrl: (selectedModel as any).onPremProxyUrl ?? undefined,
106106 },
107107 }
108108 : {
@@ -301,7 +301,7 @@
301301 env: {
302302 apiKeyLocation: (selectedModel as any).apiKeyLocation,
303303 orgScopeId: organizationId,
304- proxyUrl: undefined,
304+ proxyUrl: (selectedModel as any).onPremProxyUrl ?? undefined,
305305 },
306306 }
307307 : {