docs: keep Chinese README and refresh screenshots
This commit is contained in:
@@ -32,8 +32,8 @@ const GATEWAY_FETCH_PRELOAD_SOURCE = `'use strict';
|
||||
delete flat['HTTP-Referer'];
|
||||
delete flat['x-title'];
|
||||
delete flat['X-Title'];
|
||||
flat['HTTP-Referer'] = 'https://claw-x.com';
|
||||
flat['X-Title'] = 'ClawX';
|
||||
flat['HTTP-Referer'] = 'https://git.nianxx.cn/wangxuming/NianToB';
|
||||
flat['X-Title'] = '智念助手';
|
||||
init.headers = flat;
|
||||
}
|
||||
return _f.call(globalThis, input, init);
|
||||
|
||||
@@ -176,13 +176,13 @@ export function createMenu(): void {
|
||||
{
|
||||
label: 'Documentation',
|
||||
click: async () => {
|
||||
await shell.openExternal('https://claw-x.com');
|
||||
await shell.openExternal('https://git.nianxx.cn/wangxuming/NianToB');
|
||||
},
|
||||
},
|
||||
{
|
||||
label: 'Report Issue',
|
||||
click: async () => {
|
||||
await shell.openExternal('https://github.com/ValueCell-ai/ClawX/issues');
|
||||
await shell.openExternal('https://git.nianxx.cn/wangxuming/NianToB');
|
||||
},
|
||||
},
|
||||
{ type: 'separator' },
|
||||
|
||||
@@ -83,8 +83,8 @@ export const PROVIDER_DEFINITIONS: ProviderDefinition[] = [
|
||||
api: 'openai-completions',
|
||||
apiKeyEnv: 'OPENROUTER_API_KEY',
|
||||
headers: {
|
||||
'HTTP-Referer': 'https://claw-x.com',
|
||||
'X-Title': 'ClawX',
|
||||
'HTTP-Referer': 'https://git.nianxx.cn/wangxuming/NianToB',
|
||||
'X-Title': '智念助手',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -36,8 +36,8 @@
|
||||
delete flat['HTTP-Referer'];
|
||||
delete flat['x-title'];
|
||||
delete flat['X-Title'];
|
||||
flat['HTTP-Referer'] = 'https://claw-x.com';
|
||||
flat['X-Title'] = 'ClawX';
|
||||
flat['HTTP-Referer'] = 'https://git.nianxx.cn/wangxuming/NianToB';
|
||||
flat['X-Title'] = '智念助手';
|
||||
init.headers = flat;
|
||||
}
|
||||
return _f.call(globalThis, input, init);
|
||||
|
||||
Reference in New Issue
Block a user