Jason
|
9b4485e111
|
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
|
2026-01-16 20:29:12 +08:00 |
|
Jason
|
093ff0ba29
|
feat(opencode): Phase 8 - OpenCode provider presets configuration
- Create src/config/opencodeProviderPresets.ts with:
- OpenCodeProviderPreset interface for preset structure
- opencodeNpmPackages: AI SDK npm package options
- Provider presets: OpenAI, Anthropic, Google, DeepSeek, Mistral, Groq
- OpenAI Compatible custom template for third-party providers
- Each preset uses OpenCodeProviderConfig with npm, options, models structure
- Includes apiKeyUrl for quick access to API key pages
- Template values for dynamic API key input
|
2026-01-15 16:26:46 +08:00 |
|