File tree Expand file tree Collapse file tree 1 file changed +29
-2
lines changed
Expand file tree Collapse file tree 1 file changed +29
-2
lines changed Original file line number Diff line number Diff line change @@ -103,12 +103,12 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
103103 } ,
104104 } ,
105105 {
106- name : "Z.ai GLM" ,
106+ name : "Zhipu GLM en " ,
107107 websiteUrl : "https://z.ai" ,
108108 apiKeyUrl : "https://z.ai/subscribe?ic=8JVLJQFSKB" ,
109109 settingsConfig : {
110110 npm : "@ai-sdk/openai-compatible" ,
111- name : "Z.ai GLM" ,
111+ name : "Zhipu GLM en " ,
112112 options : {
113113 baseURL : "https://api.z.ai/v1" ,
114114 apiKey : "" ,
@@ -646,6 +646,33 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
646646 } ,
647647 } ,
648648 } ,
649+ {
650+ name : "RightCode" ,
651+ websiteUrl : "https://www.right.codes" ,
652+ apiKeyUrl : "https://www.right.codes/register?aff=0bdf9bfa" ,
653+ settingsConfig : {
654+ npm : "@ai-sdk/openai" ,
655+ name : "RightCode" ,
656+ options : {
657+ baseURL : "https://right.codes/codex/v1" ,
658+ apiKey : "" ,
659+ } ,
660+ models : {
661+ "gpt-5.2" : { name : "GPT-5.2" } ,
662+ "gpt-5.2-codex" : { name : "GPT-5.2 Codex" } ,
663+ } ,
664+ } ,
665+ category : "third_party" ,
666+ icon : "rc" ,
667+ iconColor : "#E96B2C" ,
668+ templateValues : {
669+ apiKey : {
670+ label : "API Key" ,
671+ placeholder : "" ,
672+ editorValue : "" ,
673+ } ,
674+ } ,
675+ } ,
649676
650677 // ========== 自定义模板 ==========
651678 {
You can’t perform that action at this time.
0 commit comments