Add atomic Live benchmark controls

AI-assisted: Codex
This commit is contained in:
Paul Bakaus
2026-07-13 10:43:21 -07:00
parent e9121b26fe
commit a274f93c4e
5 changed files with 18 additions and 2 deletions
+4 -1
View File
@@ -38,6 +38,9 @@ export function resolveCodexWorkerConfig({ env = process.env, liveConfig = {} }
const profile = nonEmpty(env.IMPECCABLE_LIVE_CODEX_PROFILE)
|| nonEmpty(configured.profile)
|| 'quality';
const requestedDelivery = nonEmpty(env.IMPECCABLE_LIVE_CODEX_DELIVERY)
|| nonEmpty(configured.delivery)
|| 'progressive';
return {
enabled,
model: nonEmpty(env.IMPECCABLE_LIVE_CODEX_MODEL) || nonEmpty(configured.model) || null,
@@ -46,7 +49,7 @@ export function resolveCodexWorkerConfig({ env = process.env, liveConfig = {} }
|| nonEmpty(configured.effort)
|| (profile === 'fast' ? 'low' : 'medium'),
profile: profile === 'fast' ? 'fast' : 'quality',
delivery: configured.delivery === 'atomic' ? 'atomic' : 'progressive',
delivery: requestedDelivery === 'atomic' ? 'atomic' : 'progressive',
maxArtifactBytes: positiveInteger(configured.maxArtifactBytes, 2_000_000),
};
}