This commit is contained in:
cpojer
2026-01-31 15:28:11 +09:00
parent 67945e8d62
commit a00e0bc189

View File

@@ -17,11 +17,6 @@ const modelRegistryState = {
models: [] as Array<Record<string, unknown>>,
available: [] as Array<Record<string, unknown>>,
};
const discoverAuthStorage = vi.fn().mockReturnValue({});
const discoverModels = vi.fn().mockReturnValue({
getAll: () => modelRegistryState.models,
getAvailable: () => modelRegistryState.available,
});
vi.mock("../config/config.js", () => ({
CONFIG_PATH: "/tmp/openclaw.json",