refactor: drop obsolete expose-internals flag

This commit is contained in:
Tianyi Cui
2026-07-23 20:35:09 +08:00
parent 78b0fbfd3f
commit eb0cc4eb18
27 changed files with 41 additions and 58 deletions

View File

@@ -70,7 +70,6 @@ describe('jsonrpc-agent keyless smoke', () => {
const address = modelServer.address()
if (address === null || typeof address === 'string') throw new Error('model server did not bind a TCP port')
const child = spawn(process.execPath, [
'--expose-internals',
'--import',
'tsx',
binScript,
@@ -171,7 +170,6 @@ describe('jsonrpc-agent keyless smoke', () => {
it('rejects an invalid max-token success env value', async () => {
const child = spawn(process.execPath, [
'--expose-internals',
'--import',
'tsx',
binScript,