2026-06-13 21:08:37 +07:00
|
|
|
export default {
|
2026-06-14 14:32:59 +07:00
|
|
|
id: "opencode",
|
2026-06-15 11:38:43 +07:00
|
|
|
priority: 40,
|
2026-06-14 18:49:38 +07:00
|
|
|
hasFree: true,
|
2026-06-14 14:32:59 +07:00
|
|
|
alias: "oc",
|
|
|
|
|
uiAlias: "oc",
|
2026-06-14 13:15:48 +07:00
|
|
|
display: {
|
2026-06-14 14:32:59 +07:00
|
|
|
name: "OpenCode Free",
|
|
|
|
|
icon: "terminal",
|
|
|
|
|
color: "#E87040",
|
|
|
|
|
textIcon: "OC",
|
2026-06-14 13:15:48 +07:00
|
|
|
},
|
|
|
|
|
category: "free",
|
|
|
|
|
noAuth: true,
|
2026-06-14 14:32:59 +07:00
|
|
|
transport: {
|
|
|
|
|
baseUrl: "https://opencode.ai",
|
|
|
|
|
headers: {
|
|
|
|
|
"x-opencode-client": "desktop",
|
2026-06-13 21:08:37 +07:00
|
|
|
},
|
2026-06-14 13:15:48 +07:00
|
|
|
noAuth: true,
|
|
|
|
|
},
|
2026-06-14 14:32:59 +07:00
|
|
|
models: [],
|
|
|
|
|
modelsFetcher: { url: "https://opencode.ai/zen/v1/models", type: "opencode-free" },
|
|
|
|
|
passthroughModels: true,
|
2026-06-13 21:08:37 +07:00
|
|
|
};
|