mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-05 08:10:14 +00:00
Change: const urlHost = new URL(this.options.openAiBaseUrl).host; To: const urlHost = new URL(this.options.openAiBaseUrl ?? "").host; because the nullish coalescing operator (??) to default to an empty string if this.options.openAiBaseUrl is undefined. It ensures that the URL constructor always receives a valid string. |
||
|---|---|---|
| .. | ||
| api | ||
| core | ||
| exports | ||
| integrations | ||
| services | ||
| shared | ||
| test | ||
| utils | ||
| extension.ts | ||