mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-08 10:10:58 +00:00
feat: opencode go provider list (#15203)
This commit is contained in:
parent
bb8a1718a6
commit
7453e78b35
21 changed files with 77 additions and 5 deletions
|
|
@ -16,9 +16,9 @@ import { useToast } from "../ui/toast"
|
|||
|
||||
const PROVIDER_PRIORITY: Record<string, number> = {
|
||||
opencode: 0,
|
||||
openai: 1,
|
||||
"github-copilot": 2,
|
||||
"opencode-go": 3,
|
||||
"opencode-go": 1,
|
||||
openai: 2,
|
||||
"github-copilot": 3,
|
||||
anthropic: 4,
|
||||
google: 5,
|
||||
}
|
||||
|
|
@ -38,7 +38,7 @@ export function createDialogProviderOptions() {
|
|||
opencode: "(Recommended)",
|
||||
anthropic: "(Claude Max or API key)",
|
||||
openai: "(ChatGPT Plus/Pro or API key)",
|
||||
"opencode-go": "(Low cost)",
|
||||
"opencode-go": "Low cost subscription for everyone",
|
||||
}[provider.id],
|
||||
category: provider.id in PROVIDER_PRIORITY ? "Popular" : "Other",
|
||||
async onSelect() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue