diff --git a/src/commands/doctor/shared/active-tool-schema-warnings.test.ts b/src/commands/doctor/shared/active-tool-schema-warnings.test.ts index 9a0b474019e..cdb86bc5ce7 100644 --- a/src/commands/doctor/shared/active-tool-schema-warnings.test.ts +++ b/src/commands/doctor/shared/active-tool-schema-warnings.test.ts @@ -1,5 +1,5 @@ import { beforeEach, describe, expect, it, vi } from "vitest"; -import type { createOpenClawCodingTools } from "../../../agents/pi-tools.js"; +import type { createOpenClawCodingTools } from "../../../agents/agent-tools.js"; import type { AnyAgentTool } from "../../../agents/tools/common.js"; const toolState = vi.hoisted(() => ({ @@ -9,7 +9,7 @@ const toolState = vi.hoisted(() => ({ createTools: vi.fn(), })); -vi.mock("../../../agents/pi-tools.js", () => ({ +vi.mock("../../../agents/agent-tools.js", () => ({ createOpenClawCodingTools: (options?: Parameters[0]) => { toolState.createTools(options); if (toolState.throwError) { diff --git a/src/commands/doctor/shared/active-tool-schema-warnings.ts b/src/commands/doctor/shared/active-tool-schema-warnings.ts index 39028a025ed..f07e5a9a659 100644 --- a/src/commands/doctor/shared/active-tool-schema-warnings.ts +++ b/src/commands/doctor/shared/active-tool-schema-warnings.ts @@ -4,9 +4,9 @@ import { resolveAgentDir, resolveAgentWorkspaceDir, } from "../../../agents/agent-scope.js"; +import { createOpenClawCodingTools } from "../../../agents/agent-tools.js"; import { DEFAULT_MODEL, DEFAULT_PROVIDER } from "../../../agents/defaults.js"; import { parseModelRef } from "../../../agents/model-selection-normalize.js"; -import { createOpenClawCodingTools } from "../../../agents/pi-tools.js"; import { filterRuntimeCompatibleTools, type RuntimeToolSchemaDiagnostic,