Fix lint.
parent
e9f0be06eb
commit
84ac889e22
|
|
@ -18,18 +18,6 @@ const modelRegistryState = {
|
||||||
available: [] as Array<Record<string, unknown>>,
|
available: [] as Array<Record<string, unknown>>,
|
||||||
};
|
};
|
||||||
|
|
||||||
class AuthStorage {}
|
|
||||||
|
|
||||||
class ModelRegistry {
|
|
||||||
getAll() {
|
|
||||||
return modelRegistryState.models;
|
|
||||||
}
|
|
||||||
|
|
||||||
getAvailable() {
|
|
||||||
return modelRegistryState.available;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
vi.mock("../config/config.js", () => ({
|
vi.mock("../config/config.js", () => ({
|
||||||
CONFIG_PATH: "/tmp/openclaw.json",
|
CONFIG_PATH: "/tmp/openclaw.json",
|
||||||
STATE_DIR: "/tmp/openclaw-state",
|
STATE_DIR: "/tmp/openclaw-state",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue