Commit Graph

655 Commits

Author SHA1 Message Date
yujiangping
fbc1906fa2 Merge branch 'develop' of github.com:SuanmoSuanyangTechnology/MemoryBear into develop 2026-01-14 12:07:28 +08:00
yujiangping
a16c099f02 feat(workflow): refactor port configuration and enhance edge styling
- Extract port markup and attributes to shared constants for reusability
- Add text label support to ports with '+' symbol and styling
- Update port radius from 4 to 6 pixels for better visibility
- Remove duplicate port configuration definitions from hook
- Replace all port group definitions to use centralized portMarkup and portAttrs
- Update edge connector to use smooth curve styling
- Change edge target marker from block to diamond shape
- Consolidate port styling logic to reduce code duplication and improve maintainability
2026-01-14 12:06:43 +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
Mark
a51eb7c7a0 Merge pull request #103 from SuanmoSuanyangTechnology/fix/workflow
feat(workflow): official session variable support and improved runtime state handling
2026-01-14 11:26:32 +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
yingzhao
b5c8741803 Merge pull request #101 from SuanmoSuanyangTechnology/feature/workflow_zy
fix(web): remove calculateVariableList
2026-01-13 21:22:39 +08:00
zhaoying
e72ecfcb0a fix(web): remove calculateVariableList 2026-01-13 21:21:19 +08:00
yingzhao
641e75bfd4 Merge pull request #100 from SuanmoSuanyangTechnology/feature/workflow_zy
Feature/workflow zy
2026-01-13 21:18:00 +08:00
zhaoying
954d754c09 fix(web): node's variable update 2026-01-13 21:17:18 +08:00
zhaoying
1159da111a fix(web): update memory's api url 2026-01-13 21:13:36 +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
yujiangping
70cbda27eb Merge branch 'feature/knowledgeBase_yjp' into develop 2026-01-13 19:24:01 +08:00
yujiangping
99790551f9 feat(version-card): add code name field and enhance version display
- Add codeName field to versionResponse interface in API types
- Add version section translations for English and Chinese locales
* releaseDate, version, and name labels
- Enhance VersionCard component layout and styling
* Display release date and code name in horizontal layout with divider
* Add numbered list formatting for core upgrades
* Improve text sizing and spacing for better readability
* Import Divider component from antd for visual separation
- Improve version information presentation with better structure and localization support
2026-01-13 19:23:11 +08:00
Mark
bc88379139 Merge pull request #98 from SuanmoSuanyangTechnology/feature/agent-tool_xjn
feat(home page)
2026-01-13 18:45:32 +08:00
谢俊男
734ef3c713 feat(home page): migrate static files 2026-01-13 18:42:47 +08:00
yujiangping
02de9a03ca Merge branch 'feature/knowledgeBase_yjp' into develop 2026-01-13 18:18:40 +08:00
yujiangping
e0ca2f5725 feat(version-card): update version information display structure
- Update versionResponse interface to include structured introduction object with releaseDate, upgradePosition, and coreUpgrades fields
- Refactor VersionCard component to display version details as separate paragraphs with improved layout
- Change introduction from string to object with nested properties for better data organization
- Remove unused Button and arrowRight imports from VersionCard component
- Add file header documentation comment to VersionCard component
- Remove debugger statement from TopCardList component
- Update styling to use flex-col layout and improve spacing with gap-2 class
- Map through coreUpgrades array to display each upgrade as individual paragraph items
- Improve version information presentation with clearer visual hierarchy
2026-01-13 18:17:21 +08:00
Mark
f320d6e002 Merge pull request #97 from SuanmoSuanyangTechnology/feature/agent-tool_xjn
workflow tool node
2026-01-13 18:06:13 +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
zhaoying
e187c01dc9 feat(web): add space config page; user memory page update 2026-01-13 16:16:46 +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
Mark
7042f4fc1b Merge pull request #90 from SuanmoSuanyangTechnology/feature/agent-tool_xjn
feat(workflow node)
2026-01-13 15:13:56 +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
zhaoying
1ebab759b1 feat(web): add graph detail page 2026-01-13 14:04:28 +08:00
zhaoying
2f13cb4cbc fix(web): iteration node‘s variableList updated 2026-01-13 14:03:44 +08:00
zhaoying
f5e71f56e9 fix(web): tool's api response change 2026-01-13 13:56:14 +08:00
yingzhao
042a34d22f Merge pull request #87 from SuanmoSuanyangTechnology/feature/workflow_zy
fix(web): if-else and question-classifier node support link to same node
2026-01-13 12:19:17 +08:00
zhaoying
49fa6906ac fix(web): if-else and question-classifier node support link to same node 2026-01-13 12:18:30 +08:00
Mark
8956939ae7 Merge pull request #85 from SuanmoSuanyangTechnology/feature/agent-tool_xjn
feat(workflow node)
2026-01-13 12:17:00 +08:00
yingzhao
171aad78da Merge pull request #86 from SuanmoSuanyangTechnology/feature/workflow_zy
fix(web): knowledge_retrieval type node's knowledge_bases
2026-01-13 11:47:08 +08:00