From 73d9b5d70e30fd02d0b4215b669d194dde524982 Mon Sep 17 00:00:00 2001 From: Jamie Pine Date: Mon, 2 Feb 2026 20:08:07 -0800 Subject: [PATCH] Refactor ProviderSettings component for improved readability and maintainability - Removed unnecessary line breaks in the rendering of radio buttons and labels for a cleaner code structure. - Added missing imports for numpy and scipy in build_binary.py to ensure proper functionality. - Updated binary Assets.car file to reflect recent changes. --- .../ServerSettings/ProviderSettings.tsx | 17 +++++++++-------- backend/build_binary.py | 5 +++++ tauri/src-tauri/gen/Assets.car | Bin 3847048 -> 3847048 bytes 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/app/src/components/ServerSettings/ProviderSettings.tsx b/app/src/components/ServerSettings/ProviderSettings.tsx index 8057947a..b11e19ef 100644 --- a/app/src/components/ServerSettings/ProviderSettings.tsx +++ b/app/src/components/ServerSettings/ProviderSettings.tsx @@ -13,7 +13,6 @@ import { AlertDialogHeader, AlertDialogTitle, } from '@/components/ui/alert-dialog'; -import { Badge } from '@/components/ui/badge'; import { Button } from '@/components/ui/button'; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card'; import { Label } from '@/components/ui/label'; @@ -205,11 +204,7 @@ export function ProviderSettings() { className={`flex items-center justify-between py-2 ${isMacOS() ? 'opacity-50' : ''}`} >
- +