fix: stabilize transport-ready test timing
This commit is contained in:
@@ -325,12 +325,7 @@ export async function runEmbeddedAttempt(
|
||||
// Force a stable streamFn reference so vitest can reliably mock @mariozechner/pi-ai.
|
||||
activeSession.agent.streamFn = streamSimple;
|
||||
|
||||
applyExtraParamsToAgent(
|
||||
activeSession.agent,
|
||||
params.config,
|
||||
params.provider,
|
||||
params.modelId,
|
||||
);
|
||||
applyExtraParamsToAgent(activeSession.agent, params.config, params.provider, params.modelId);
|
||||
|
||||
try {
|
||||
const prior = await sanitizeSessionHistory({
|
||||
|
||||
Reference in New Issue
Block a user