Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

feat(desktop): allow reconfiguration of already-configured providers

Jiayuan Zhang0135951ac632
diff --git a/apps/desktop/src/renderer/src/components/onboarding/provider-setup.tsx b/apps/desktop/src/renderer/src/components/onboarding/provider-setup.tsx
index da57754666..a5af721c05 100644
--- a/apps/desktop/src/renderer/src/components/onboarding/provider-setup.tsx
+++ b/apps/desktop/src/renderer/src/components/onboarding/provider-setup.tsx
@@ -63,7 +63,20 @@ function ProviderCard({
</div>
{provider.available ? (
- <HugeiconsIcon icon={Tick02Icon} className="size-4 text-primary" />
+ <div className="flex items-center gap-2">
+ <HugeiconsIcon icon={Tick02Icon} className="size-4 text-primary" />
+ <Button
+ size="sm"
+ variant="ghost"
+ className="text-xs text-muted-foreground h-auto py-1 px-2"
+ onClick={(e) => {
+ e.stopPropagation()
+ onConfigure(provider)
+ }}
+ >
+ Reconfigure
+ </Button>
+ </div>
) : (
<Button
size="sm"