mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-21 14:11:26 +00:00
Memory: fix QMD doctor contract typing
This commit is contained in:
@@ -38,11 +38,19 @@ export type RegisteredMemorySearchManager = {
|
||||
close?(): Promise<void>;
|
||||
};
|
||||
|
||||
export type MemoryRuntimeBackendConfig = {
|
||||
backend: "builtin" | "qmd";
|
||||
qmd?: object;
|
||||
export type MemoryRuntimeQmdConfig = {
|
||||
command?: string;
|
||||
};
|
||||
|
||||
export type MemoryRuntimeBackendConfig =
|
||||
| {
|
||||
backend: "builtin";
|
||||
}
|
||||
| {
|
||||
backend: "qmd";
|
||||
qmd?: MemoryRuntimeQmdConfig;
|
||||
};
|
||||
|
||||
export type MemoryPluginRuntime = {
|
||||
getMemorySearchManager(params: {
|
||||
cfg: OpenClawConfig;
|
||||
|
||||
Reference in New Issue
Block a user