feat: Round 5 - Memory Service, Tool Engine, Call Records, Thinking Logs
- Fix: Session history flash (race condition + WS guard) - Fix: Chat background overlay + sidebar transparency - Fix: IoT device control (Chinese action names, status field) - Feat: Independent memory-service (port 8091, 13 endpoints) - Feat: Independent tool-engine service (port 8092, 13 tools) - Feat: Tool call logs with paginated DevTools panel - Feat: Thinking log records with DevTools panel - Feat: Future development roadmap document - Chore: Updated .gitignore, go.work, DevTools config - Chore: 5-service health check, project review docs
This commit is contained in:
@@ -121,6 +121,12 @@ func main() {
|
||||
thinkerCfg := background.DefaultThinkerConfig()
|
||||
adminUserID := "admin_admin"
|
||||
adminSessionID := "admin-session-main"
|
||||
|
||||
// 创建记忆服务 HTTP 客户端(用于持久化思考日志到 memory-service)
|
||||
memServiceURL := getEnv("MEMORY_SERVICE_URL", "http://localhost:8091")
|
||||
memClient := memory.NewClient(memServiceURL)
|
||||
log.Printf("记忆服务客户端已就绪: %s", memServiceURL)
|
||||
|
||||
thinker := background.NewThinker(
|
||||
thinkerCfg,
|
||||
personaLoader,
|
||||
@@ -133,6 +139,7 @@ func main() {
|
||||
convStore,
|
||||
adminUserID,
|
||||
adminSessionID,
|
||||
memClient,
|
||||
)
|
||||
thinker.Start()
|
||||
defer thinker.Stop()
|
||||
|
||||
Reference in New Issue
Block a user