mirror of
https://gitcode.com/JianFeeeee/HomeAgent.git
synced 2026-09-23 02:18:06 +00:00
feat: register embedding_model_path in ConfigRegistry instead of JSON config
- Add core.agent.embedding_model_path to seedDBValues and seedCoreDefs - Wire cfgReg.GetString in main.go to AgentConfig.EmbeddingModelPath - Follow existing core.agent.* ConfigRegistry pattern
This commit is contained in:
2606
cmd/gui/package-lock.json
generated
2606
cmd/gui/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -11,6 +11,25 @@
|
||||
"electron": "^33.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"asar": "^3.2.0",
|
||||
"electron-builder": "^26.15.3",
|
||||
"electron-packager": "^17.1.2"
|
||||
},
|
||||
"build": {
|
||||
"appId": "com.homeagent.gui",
|
||||
"productName": "HomeAgent",
|
||||
"linux": {
|
||||
"target": [
|
||||
"deb"
|
||||
],
|
||||
"category": "Utility"
|
||||
},
|
||||
"files": [
|
||||
"main.js",
|
||||
"preload.js",
|
||||
"renderer/**/*",
|
||||
"node_modules/**/*",
|
||||
"!node_modules/electron-builder/**"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@ -385,8 +385,9 @@ func main() {
|
||||
Personality: personality,
|
||||
PluginReg: pluginReg,
|
||||
PluginDir: cfg.Plugin.Dir,
|
||||
ContextSavePath: filepath.Join(cfg.Daemon.DataDir, "memory", "context.json"),
|
||||
StageHost: stageHost,
|
||||
ContextSavePath: filepath.Join(cfg.Daemon.DataDir, "memory", "context.json"),
|
||||
EmbeddingModelPath: cfgReg.GetString("core.agent.embedding_model_path", ""),
|
||||
StageHost: stageHost,
|
||||
EventBus: evBus,
|
||||
ThinkingEnabled: cfg.LLM.ThinkingEnabled,
|
||||
InputProcessing: cfg.InputProcessing,
|
||||
|
||||
Reference in New Issue
Block a user