Commit Graph

360 Commits

Author SHA1 Message Date
Ke Sun
6452733c4e fix(memory): simplify summary tool by removing LLM processing
- Remove template_service extraction and template rendering logic
- Remove LLM client initialization from MemoryClientFactory
- Remove structured response call to LLM with RetrieveSummaryResponse model
- Replace LLM-based answer generation with direct retrieval information
- Simplify response to use raw retrieved info or default fallback message
- Update logging to reflect non-LLM quick answer approach
- Reduce unnecessary dependencies and improve performance by eliminating LLM call overhead
2026-01-14 15:58:24 +08:00
乐力齐
271d6b5d8d Refactor/memory statistics (#112)
* [refactor]Reconstructing forgotten, emotional, situational, and explicit memory statistics

* [refactor]Reconstructing forgotten, emotional, situational, and explicit memory statistics

* [changes]Improve the code based on AI review

* [changes]Statistics on work, perception, short-term, and implicit memory

* [changes]Statistics on work, perception, short-term, and implicit memory

* [changes]Replace the invisible memory calculation method

* [changes]Statistics on work, perception, short-term, and implicit memory

* [refactor]Reconstructing forgotten, emotional, situational, and explicit memory statistics

* [changes]Statistics on work, perception, short-term, and implicit memory

* [changes]Replace the invisible memory calculation method
2026-01-14 15:52:11 +08:00
lixinyue11
93ff64f130 Fix/memory bug fix (#111)
* 图谱数据量限制数量去掉

* 图谱数据量限制数量去掉

* 图谱数据量限制数量去掉

* 用户详情优化

* 用户详情优化

* 用户详情优化

* 用户详情优化

* 用户详情优化
2026-01-14 15:36:26 +08:00
Mark
5ec9ac1fba [fix] Object of type UUID is not JSON serializable 2026-01-14 14:17:09 +08:00
lixinyue11
c166615ec8 Fix/memory bug fix (#107)
* 图谱数据量限制数量去掉

* 图谱数据量限制数量去掉
2026-01-14 14:11:05 +08:00
Eternity
cdcac262a3 fix(workflow): fix LLM node streaming execution configuration error 2026-01-14 12:24:41 +08:00
Ke Sun
a6e1898e1b perf(memory): add detailed performance logging and optimize batch access recording
- Add [PERF] prefixed logging throughout hybrid search pipeline for better performance visibility
- Break down latency metrics with separate timing for config loading, embedder initialization, and rerank computation
- Format latency breakdown as JSON in performance summary logs
- Optimize batch_record_access to process node access records in parallel using asyncio.gather instead of sequential processing
- Add performance timing instrumentation for forgetting config loading and rerank computation stages
- Reorganize imports in access_history_manager for consistency
- Improve observability of search performance bottlenecks through structured logging
2026-01-14 12:02:10 +08:00
lixinyue11
78bb9315b7 Fix/develop bug jiqun (#102)
* 修复RAG集群BUG

* Agent应用层的记忆从深度检索改为快速检索

* 应用层快速检索添加(深度检索放在后台)

* 应用层快速检索添加(深度检索放在后台)
2026-01-14 11:40:12 +08:00
乐力齐
9eb3e1329f Fix/content attribute (#105)
* [fix]Fix the return of the "content" attribute

* [changes]Improve the code based on AI review

* Apply suggestion from @sourcery-ai[bot]

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* [fix]Fix the return of the "content" attribute

* [changes]Improve the code based on AI review

* Apply suggestion from @sourcery-ai[bot]

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* [changes]Improve the code based on AI review

---------

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2026-01-14 11:39:47 +08:00
Eternity
938a99a59c Merge branch 'develop' into fix/workflow 2026-01-14 10:58:13 +08:00
mengyonghao
95b61e9972 perf(workflow): optimize default value of rerank_id configuration 2026-01-14 10:55:05 +08:00
mengyonghao
84e24ede04 fix(workflow): move node config validation to runtime for proper error handling 2026-01-14 10:47:38 +08:00
mengyonghao
7438fedd6b fix(workflow): fix workflow state not updating correctly after streaming runs 2026-01-14 10:46:33 +08:00
mengyonghao
4448296e7b feat(workflow): officially support workflow session variables 2026-01-14 10:46:23 +08:00
乐力齐
b71f67f7df Refactor/memory statistics (#99)
* [refactor]Reconstructing forgotten, emotional, situational, and explicit memory statistics

* [refactor]Reconstructing forgotten, emotional, situational, and explicit memory statistics

* [changes]Improve the code based on AI review
2026-01-13 20:27:27 +08:00
谢俊男
734ef3c713 feat(home page): migrate static files 2026-01-13 18:42:47 +08:00
谢俊男
eef0ee5f5c feat(workflow tool node): Change the data output variable of the tool node to a string 2026-01-13 18:00:45 +08:00
谢俊男
da5e8a3d59 Merge branch 'refs/heads/feature/20260105_xjn' into feature/agent-tool_xjn 2026-01-13 17:58:28 +08:00
lixinyue11
f9898607ce Fix/develop bug jiqun (#95)
* 修复RAG集群BUG

* Agent应用层的记忆从深度检索改为快速检索
2026-01-13 17:55:20 +08:00
谢俊男
c780d4be14 feat(workflow tool node): add a string type output variable 2026-01-13 17:41:03 +08:00
mengyonghao
e60bc37fbf fix(workflow): set default empty value for custom variables in start node 2026-01-13 17:28:41 +08:00
谢俊男
9a0c403c51 feat(home page): place the version introduction in a static file 2026-01-13 16:41:26 +08:00
乐力齐
dec9fca8c2 Refactor/episodic explicit (#93)
* [refactor]Reconstruct episodic memory

* [refactor]Reconstructing explicit memory

* [refactor]Reconstruct episodic memory

* [refactor]Reconstructing explicit memory

* [changes]Based on the improvement of AI review

* [changes]Modify the routing

* [changes]Uniform routing format

* [fix]Fix the failure in parsing the timestamp.

* [refactor]Reconstruct episodic memory

* [refactor]Reconstructing explicit memory

* [changes]Based on the improvement of AI review

* [changes]Modify the routing

* [changes]Uniform routing format

* [fix]Fix the failure in parsing the timestamp.

* [deleted]Delete migration files

* [refactor]Reconstruct episodic memory

* [refactor]Reconstructing explicit memory

* [changes]Based on the improvement of AI review

* [changes]Modify the routing

* [changes]Uniform routing format

* [fix]Fix the failure in parsing the timestamp.

* [deleted]Delete migration files

* feat: add database migration 9ab9b6393f32_20261511
2026-01-13 16:02:36 +08:00
Eternity
7a5792ba01 Fix/workflow (#92)
* fix(workflow): use loose rendering for end-node variables

* fix(workflow): use int type for memory node config id

* fix(workflow): handle missing environment variable defaults

* fix(workflow): render jinja variables with actual values in non-strict mode

* fix(workflow): support reordering without a rerank model in knowledge base

* fix(workflow): fix typo in key value
2026-01-13 15:42:00 +08:00
mengyonghao
ada63d9f5c fix(workflow): fix typo in key value 2026-01-13 15:40:22 +08:00
mengyonghao
8f114b0dfa fix(workflow): support reordering without a rerank model in knowledge base 2026-01-13 15:34:57 +08:00
Mark
2ba8bb58e0 [add] migration script 2026-01-13 15:16:09 +08:00
mengyonghao
9427584825 fix(workflow): render jinja variables with actual values in non-strict mode 2026-01-13 15:10:01 +08:00
mengyonghao
592c2ac217 fix(workflow): handle missing environment variable defaults 2026-01-13 15:09:06 +08:00
mengyonghao
dd7abc0d27 fix(workflow): use int type for memory node config id 2026-01-13 15:06:12 +08:00
mengyonghao
fe4a53563e fix(workflow): use loose rendering for end-node variables 2026-01-13 15:04:44 +08:00
谢俊男
ab02f610e5 feat(workflow node): The execution records of the tool remove the foreign key that binds to the user, and directly store the user ID. 2026-01-13 14:59:12 +08:00
乐力齐
0a73b18823 Feature/return memoryconfig (#89)
* [add]Newly added: Memory configuration for returning results

* [add]Newly added: Memory configuration for returning results

* [changes]Based on the improvement of AI review
2026-01-13 14:55:12 +08:00
谢俊男
7741cffa03 feat(workflow node): built-in tools output modifications to adapt to workflow nodes 2026-01-13 11:36:09 +08:00
Mark
c4addc7e54 Merge pull request #82 from SuanmoSuanyangTechnology/feat/memory-perceptual
Feat/memory perceptual
2026-01-12 21:16:14 +08:00
mengyonghao
6a0cbd7d8e perf(memory): optimize working memory summarization prompt 2026-01-12 21:14:45 +08:00
mengyonghao
38253fa49a feat(memory): enrich perceptual memory timeline content 2026-01-12 21:14:12 +08:00
mengyonghao
c1fba39496 feat(workflow): add conversation_id parameter 2026-01-12 21:13:21 +08:00
Mark
d3b093c09d Merge branch 'develop' of github.com:SuanmoSuanyangTechnology/MemoryBear into develop 2026-01-12 21:11:09 +08:00
Mark
1ce5020c73 [fix] handoff limit error 2026-01-12 21:10:58 +08:00
lixinyue11
89b7d94bd1 Flx/develop config (#81)
* 修改BUG,读取接口的end_user_id获取不准确修复,statements检索内容为空需要给空列表

* 反思的默认部分检索替换为partial

* 反思的默认部分检索替换为partial

* 反思的默认部分检索替换为partial

* 情绪归类

* 情绪归类

* 情绪归类

* 情绪归类

* 情绪归类

* 情绪归类
2026-01-12 20:50:09 +08:00
mengyonghao
6a78ed7c8a fix(workflow): fix default values in parameter extraction node and incorrect value retrieval in comparison operations 2026-01-12 20:32:17 +08:00
Mark
a006bc94b9 Merge pull request #74 from SuanmoSuanyangTechnology/feature/agent-tool_xjn
feat(draft run)
2026-01-12 20:30:20 +08:00
乐力齐
4e1ff99cc5 [fix]Restore episodic memory and retrieve memory type (#78) 2026-01-12 19:02:25 +08:00
乐力齐
d477520b67 [fix]Return the "statement" attribute (#76)
* [fix]Return the "statement" attribute

* [fix]Trigger the forgetting cycle using the end_user_id
2026-01-12 18:47:40 +08:00
lixinyue11
17318d8205 Flx/develop config (#77)
* 修改BUG,读取接口的end_user_id获取不准确修复,statements检索内容为空需要给空列表

* 反思的默认部分检索替换为partial

* 反思的默认部分检索替换为partial

* 反思的默认部分检索替换为partial
2026-01-12 18:46:07 +08:00
lixinyue11
5b05009123 修改BUG,读取接口的end_user_id获取不准确修复,statements检索内容为空需要给空列表 (#75) 2026-01-12 17:40:49 +08:00
Mark
6dbc411adb Merge branch 'develop' of github.com:SuanmoSuanyangTechnology/MemoryBear into develop 2026-01-12 17:20:49 +08:00
Mark
63f965fafe [fix] error with tools ,agent no response 2026-01-12 17:20:39 +08:00
谢俊男
a10e07bd60 feat(draft run): the judgment tool list is a list or an object 2026-01-12 16:58:38 +08:00