Elffuss BraidHub

kikocis/continue public

fix: type error
Changeset97a51e0ee81352322e2149dca57faf42b75d2c64f0ea90922e17fbc53be2554d
AuthorNate <sestinj@gmail.com> · 2025-09-11 14:50 -07:00
CommitterNate <sestinj@gmail.com> · 2025-09-11 14:50 -07:00
Parents3fe1abb7e204

Browse the files at this changeset

1 file changed

modified extensions/cli/src/config.ts +4 −2
@@ -40,7 +40,9 @@
4040 env: {
4141 apiKeyLocation: (model as any).apiKeyLocation,
4242 orgScopeId: organizationId,
43- proxyUrl: (model as any).onPremProxyUrl ?? undefined,
43+ proxyUrl:
44+ (model as { onPremProxyUrl: string | undefined })
45+ .onPremProxyUrl ?? undefined,
4446 },
4547 }
4648 : {
@@ -51,7 +53,7 @@
5153 env: model.env,
5254 };
5355
54- return constructLlmApi(config);
56+ return constructLlmApi(config) ?? null;
5557 }
5658
5759 export function getLlmApi(