mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-20 21:51:28 +00:00
test: switch provider model barrel straggler imports
This commit is contained in:
@@ -17,7 +17,7 @@ vi.mock("@mariozechner/pi-ai/oauth", async () => {
|
||||
};
|
||||
});
|
||||
|
||||
vi.mock("openclaw/plugin-sdk/provider-models", () => ({
|
||||
vi.mock("openclaw/plugin-sdk/provider-model-shared", () => ({
|
||||
normalizeModelCompat: (model: Record<string, unknown>) => model,
|
||||
}));
|
||||
|
||||
|
||||
@@ -7,11 +7,11 @@ import type { OpenClawConfig } from "../../src/config/config.js";
|
||||
import { resolveAgentModelPrimaryValue } from "../../src/config/model-input.js";
|
||||
import {
|
||||
buildKilocodeModelDefinition,
|
||||
KILOCODE_DEFAULT_MODEL_ID,
|
||||
KILOCODE_DEFAULT_CONTEXT_WINDOW,
|
||||
KILOCODE_DEFAULT_MAX_TOKENS,
|
||||
KILOCODE_DEFAULT_COST,
|
||||
} from "../../src/plugin-sdk/provider-models.js";
|
||||
KILOCODE_DEFAULT_MODEL_ID,
|
||||
} from "../../src/plugin-sdk/kilocode.js";
|
||||
import { captureEnv } from "../../test/helpers/extensions/env.js";
|
||||
import {
|
||||
applyKilocodeProviderConfig,
|
||||
|
||||
Reference in New Issue
Block a user