Changesets · Branches · Tags · Compare
| Changeset | 97a51e0ee81352322e2149dca57faf42b75d2c64f0ea90922e17fbc53be2554d |
|---|---|
| Author | Nate <sestinj@gmail.com> · 2025-09-11 14:50 -07:00 |
| Committer | Nate <sestinj@gmail.com> · 2025-09-11 14:50 -07:00 |
| Parents | 3fe1abb7e204 |
1 file changed
modified extensions/cli/src/config.ts +4 −2
| @@ -40,7 +40,9 @@ | ||
| 40 | 40 | env: { |
| 41 | 41 | apiKeyLocation: (model as any).apiKeyLocation, |
| 42 | 42 | orgScopeId: organizationId, |
| 43 | - proxyUrl: (model as any).onPremProxyUrl ?? undefined, | |
| 43 | + proxyUrl: | |
| 44 | + (model as { onPremProxyUrl: string | undefined }) | |
| 45 | + .onPremProxyUrl ?? undefined, | |
| 44 | 46 | }, |
| 45 | 47 | } |
| 46 | 48 | : { |
| @@ -51,7 +53,7 @@ | ||
| 51 | 53 | env: model.env, |
| 52 | 54 | }; |
| 53 | 55 | |
| 54 | - return constructLlmApi(config); | |
| 56 | + return constructLlmApi(config) ?? null; | |
| 55 | 57 | } |
| 56 | 58 | |
| 57 | 59 | export function getLlmApi( |