diff --git a/extensions/codex/src/app-server/run-attempt.test.ts b/extensions/codex/src/app-server/run-attempt.test.ts index 087f0b5e043..56d6a05bc08 100644 --- a/extensions/codex/src/app-server/run-attempt.test.ts +++ b/extensions/codex/src/app-server/run-attempt.test.ts @@ -4,7 +4,6 @@ import path from "node:path"; import { SessionManager } from "@mariozechner/pi-coding-agent"; import { abortAgentHarnessRun, - buildAgentRuntimePlan, embeddedAgentLog, nativeHookRelayTesting, onAgentEvent, @@ -55,32 +54,6 @@ function createParams(sessionFile: string, workspaceDir: string): EmbeddedRunAtt } as EmbeddedRunAttemptParams; } -function createParamsWithRuntimePlan( - sessionFile: string, - workspaceDir: string, -): EmbeddedRunAttemptParams { - const params = createParams(sessionFile, workspaceDir); - return { - ...params, - runtimePlan: buildCodexRuntimePlan(params, workspaceDir), - }; -} - -function buildCodexRuntimePlan(params: EmbeddedRunAttemptParams, workspaceDir: string) { - return buildAgentRuntimePlan({ - provider: params.provider, - modelId: params.modelId, - model: params.model, - modelApi: params.model.api, - harnessId: "codex", - harnessRuntime: "codex", - config: params.config, - workspaceDir, - agentDir: tempDir, - thinkingLevel: params.thinkLevel, - }); -} - function createCodexRuntimePlanFixture(): NonNullable { return { auth: {},