Skip to content

Commit 43ccd2c

Browse files
committed
fix: use example API bases in region profiles for product boundary
1 parent d9cc3a0 commit 43ccd2c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎apps/pythinker-code/test/utils/client-configs.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ describe('region awareness', () => {
377377

378378
expect(data).toEqual(CONFIG);
379379
expect(fetchImpl).toHaveBeenCalledWith(
380-
expect.stringContaining('https://api.kimi.ai/coding/v1/client_configs'),
380+
expect.stringContaining('https://api.example.ai/coding/v1/client_configs'),
381381
expect.anything(),
382382
);
383383
expect(peekClientConfig('estimated_cache_duration', configSchema)).toEqual(CONFIG);

‎packages/oauth/src/region.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ export const PYTHINKER_REGION_PROFILES: Record<PythinkerRegion, PythinkerRegionP
1919
'mainland-cn': {
2020
cdnBase: 'https://code.pythinker.com/pythinker-code',
2121
siteBase: 'https://www.pythinker.com',
22-
apiBase: 'https://api.kimi.com/coding/v1',
22+
apiBase: 'https://api.example.com/coding/v1',
2323
telemetryEndpoint: 'https://telemetry-logs.pythinker.com/v1/event',
2424
},
2525
global: {
2626
cdnBase: 'https://code.pythinker.com/pythinker-code',
2727
siteBase: 'https://www.pythinker.com',
28-
apiBase: 'https://api.kimi.ai/coding/v1',
28+
apiBase: 'https://api.example.ai/coding/v1',
2929
telemetryEndpoint: 'https://telemetry-logs.pythinker.com/v1/event',
3030
},
3131
};

0 commit comments

Comments
 (0)