feat: add CTok as sponsor and upgrade Gemini model to 3.1-pro

This commit is contained in:
Jason
2026-03-11 23:47:08 +08:00
parent 70632249a8
commit 19dca7cd2b
16 changed files with 242 additions and 21 deletions
+29
View File
@@ -1175,6 +1175,35 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
},
},
},
{
name: "CTok.ai",
websiteUrl: "https://ctok.ai",
apiKeyUrl: "https://ctok.ai",
settingsConfig: {
npm: "@ai-sdk/anthropic",
name: "CTok",
options: {
baseURL: "https://api.ctok.ai/v1",
apiKey: "",
},
models: {
"claude-opus-4-6": { name: "Claude Opus 4.6" },
"claude-sonnet-4-6": { name: "Claude Sonnet 4.6" },
},
},
category: "third_party",
isPartner: true,
partnerPromotionKey: "ctok",
icon: "ctok",
iconColor: "#000000",
templateValues: {
apiKey: {
label: "API Key",
placeholder: "",
editorValue: "",
},
},
},
{
name: "AWS Bedrock",
websiteUrl: "https://aws.amazon.com/bedrock/",