mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 13:54:30 +00:00
Fix lint.
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user