fix(dashboard): 修正 OpenCode MCP 配置,移除 enabled 字段、添加 oauth: false
This commit is contained in:
@@ -581,12 +581,12 @@ function buildSecretsConfigText(apiKey, encKey) {
|
||||
function buildOpencodeEntry(apiKey, encKey) {
|
||||
return {
|
||||
type: 'remote',
|
||||
enabled: true,
|
||||
url: BASE_URL + '/mcp',
|
||||
headers: {
|
||||
'Authorization': 'Bearer ' + apiKey,
|
||||
'X-Encryption-Key': encKey
|
||||
}
|
||||
},
|
||||
oauth: false
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user