Refine desktop setup and remove bundled app center apps
This commit is contained in:
@@ -574,12 +574,17 @@ describe('sanitizeOpenClawConfig', () => {
|
||||
},
|
||||
models: {
|
||||
providers: {
|
||||
'minimax-portal': {
|
||||
baseUrl: 'https://api.minimax.io/anthropic',
|
||||
api: 'anthropic-messages',
|
||||
'yinian-model': {
|
||||
baseUrl: 'https://api.example.com/v1',
|
||||
api: 'openai-completions',
|
||||
},
|
||||
},
|
||||
},
|
||||
agents: {
|
||||
defaults: {
|
||||
model: { primary: 'yinian-model/custom-model' },
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
const openclawDir = join(testHome, '.openclaw-package-sanitize');
|
||||
@@ -610,7 +615,7 @@ describe('sanitizeOpenClawConfig', () => {
|
||||
const allow = plugins.allow as string[];
|
||||
const entries = (plugins.entries || {}) as Record<string, Record<string, unknown>>;
|
||||
|
||||
expect(new Set(allow)).toEqual(new Set(['minimax', 'cloud-sync']));
|
||||
expect(new Set(allow)).toEqual(new Set(['cloud-sync']));
|
||||
expect(entries['minimax-portal-auth']).toBeUndefined();
|
||||
expect(entries['custom-plugin']).toBeUndefined();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user