refactor(opencode): simplify API format selector

- Reduce npm package options from 10 to 4 core API formats (OpenAI, OpenAI Compatible, Anthropic, Google)
- Rename "AI SDK Package" to "API Format" in i18n (zh/en/ja)
- Remove check icon from Select dropdown items for cleaner UI
This commit is contained in:
Jason
2026-01-16 20:29:12 +08:00
parent f349d85e85
commit 9b4485e111
6 changed files with 12 additions and 24 deletions
@@ -94,7 +94,7 @@ export function OpenCodeFormFields({
<div className="space-y-2">
<FormLabel htmlFor="opencode-npm">
{t("opencode.npmPackage", {
defaultValue: "AI SDK Package",
defaultValue: "接口格式",
})}
</FormLabel>
<Select value={npm} onValueChange={onNpmChange}>