mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
refactor: multi-provider memory adapters with scan-based builtin (#227)
* refactor: restructure memory into multi-provider adapters, remove manifest.json dependency - Rename internal/memory/provider to internal/memory/adapters with per-provider subdirectories (builtin, mem0, openviking) - Replace manifest.json-based delete/update with scan-based index from daily files - Add mem0 and openviking provider adapters with HTTP client, chat hooks, MCP tools, and CRUD - Wire provider lifecycle into registry (auto-instantiate on create, evict on update/delete) - Split docker-compose into base stack + optional overlays (qdrant, browser, mem0, openviking) - Update admin UI to support dynamic provider config schema rendering * chore(lint): fix all golangci-lint issues for clean CI * refactor(docker): replace compose overlay files with profiles * feat(memory): add built-in memory multi modes * fix(ci): golangci lint * feat(memory): edit built-in memory sparse design
This commit is contained in:
@@ -7,6 +7,7 @@ export interface Config {
|
||||
mcp: McpConfig;
|
||||
postgres: PostgresConfig;
|
||||
qdrant: QdrantConfig;
|
||||
sparse: SparseConfig;
|
||||
agent_gateway: AgentGatewayConfig;
|
||||
browser_gateway: BrowserGatewayConfig;
|
||||
web: WebConfig;
|
||||
@@ -59,6 +60,10 @@ export interface QdrantConfig {
|
||||
timeout_seconds: number;
|
||||
}
|
||||
|
||||
export interface SparseConfig {
|
||||
base_url: string;
|
||||
}
|
||||
|
||||
export interface AgentGatewayConfig {
|
||||
host: string;
|
||||
port: number;
|
||||
|
||||
Reference in New Issue
Block a user