Skip to content

Commit 4c185c7

Browse files
committed
fix(app): provider settings consistency
1 parent 6f9e533 commit 4c185c7

1 file changed

Lines changed: 2 additions & 11 deletions

File tree

packages/app/src/components/settings-providers.tsx

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ type ProviderItem = ReturnType<ReturnType<typeof useProviders>["connected"]>[num
1717

1818
const PROVIDER_NOTES = [
1919
{ match: (id: string) => id === "opencode", key: "dialog.provider.opencode.note" },
20+
{ match: (id: string) => id === "opencode-go", key: "dialog.provider.opencodeGo.tagline" },
2021
{ match: (id: string) => id === "anthropic", key: "dialog.provider.anthropic.note" },
2122
{ match: (id: string) => id.startsWith("github-copilot"), key: "dialog.provider.copilot.note" },
2223
{ match: (id: string) => id === "openai", key: "dialog.provider.openai.note" },
@@ -181,21 +182,11 @@ export const SettingsProviders: Component = () => {
181182
<div class="flex items-center gap-x-3">
182183
<ProviderIcon id={item.id} class="size-5 shrink-0 icon-strong-base" />
183184
<span class="text-14-medium text-text-strong">{item.name}</span>
184-
<Show when={item.id === "opencode"}>
185-
<span class="text-14-regular text-text-weak">
186-
{language.t("dialog.provider.opencode.tagline")}
187-
</span>
188-
</Show>
189185
<Show when={item.id === "opencode"}>
190186
<Tag>{language.t("dialog.provider.tag.recommended")}</Tag>
191187
</Show>
192188
<Show when={item.id === "opencode-go"}>
193-
<>
194-
<span class="text-14-regular text-text-weak">
195-
{language.t("dialog.provider.opencodeGo.tagline")}
196-
</span>
197-
<Tag>{language.t("dialog.provider.tag.recommended")}</Tag>
198-
</>
189+
<Tag>{language.t("dialog.provider.tag.recommended")}</Tag>
199190
</Show>
200191
</div>
201192
<Show when={note(item.id)}>

0 commit comments

Comments
 (0)