test: add codex backend live smoke

This commit is contained in:
Andrey Avtomonov 2026-06-01 17:48:50 +02:00
parent 2b84b8b173
commit 09646dee48
5 changed files with 181 additions and 0 deletions

View file

@ -27,6 +27,7 @@ export function buildCodexRuntimeConfig(input: BuildCodexRuntimeConfigInput): Co
url: input.mcp.url,
bearer_token_env_var: input.mcp.bearerTokenEnvVar,
enabled_tools: input.mcp.toolNames,
default_tools_approval_mode: 'approve',
required: true,
},
};

View file

@ -30,6 +30,7 @@ describe('buildCodexRuntimeConfig', () => {
url: 'http://127.0.0.1:4567/mcp',
bearer_token_env_var: 'KTX_CODEX_RUNTIME_MCP_TOKEN',
enabled_tools: ['sl_read_source', 'wiki_search'],
default_tools_approval_mode: 'approve',
required: true,
},
},