fix(i18n): complete prompt v4 pipeline path
This commit is contained in:
@@ -20,10 +20,11 @@ const snapshotMaxConcurrency = positiveIntFromEnv(
|
||||
Math.min(DEFAULT_SNAPSHOT_MAX_CONCURRENCY, availableParallelism()),
|
||||
)
|
||||
|
||||
// Replay is the keyless default: boot real example subprocesses from recorded model scripts and diff
|
||||
// normalized protocol or transcript output plus persisted-log expected outputs. `record` calls the real API
|
||||
// and updates fixtures and expected outputs; `refresh` replays committed scripts and updates current expected outputs.
|
||||
// Replay/refresh never load `.env`; only record reads a key from the environment or root `.env`.
|
||||
// Replay is the keyless default: boot real subprocess paths from recorded model responses and diff
|
||||
// assembled requests, normalized protocol or transcript output, and persisted-log expected outputs.
|
||||
// `record` calls the real API and updates fixtures and expected outputs; `refresh` replays committed scripts
|
||||
// and updates current expected outputs. Replay/refresh never load `.env`; only record reads a key from the
|
||||
// environment or root `.env`.
|
||||
if (process.env.DSH_SNAPSHOT === 'record') {
|
||||
try {
|
||||
process.loadEnvFile(new URL('.env', import.meta.url).pathname)
|
||||
@@ -42,6 +43,7 @@ export default defineConfig({
|
||||
test: {
|
||||
setupFiles: ['./scripts/test-invariants.ts'],
|
||||
include: [
|
||||
'scripts/**/*.snapshot.ts',
|
||||
'examples/*/tests/**/*.snapshot.ts',
|
||||
'packages/sdk/*/tests/**/*.snapshot.ts',
|
||||
'packages/ui/tui/tests/**/*.snapshot.ts',
|
||||
|
||||
Reference in New Issue
Block a user