Commit Graph

277 Commits

Author SHA1 Message Date
Eternity
c5dd09cf50 Feature/memory work (#61)
* refactor(conversation): separate service and repository layers for conversation module

- Split ConversationService and repository/UnitOfWork layers
- Service layer now only handles business logic and orchestration
- Repository layer handles all direct database operations
- UnitOfWork encapsulates transactional operations for messages
- Ensured all public methods have clear English docstrings with arguments, return values, and exceptions

* feat(memory): implement work memory endpoints and services

- Added API routes for conversation count, conversation list, messages, and detail.
- Integrated ConversationService for database queries and LLM-based summary generation.

* feat(memory): implement work memory endpoints and services

- Added API routes for conversation count, conversation list, messages, and detail.
- Integrated ConversationService for database queries and LLM-based summary generation.

* feat(workflow): fix issues causing workflow failures

if-else None value error
knowledge empty list rerank
end node output none node value
assigner input none value

* feat(memory): convert memory file creation time to timestamp and include title and first-line fields in file type

* fix(memory): fix serialization output and default value issues

* fix(workflow): fix issue with hybrid search logic in knowledge retrieval node
2026-01-08 18:48:29 +08:00
lixinyue11
009ceefa30 新增记忆空间详情 (#58)
* 新增记忆空间详情

* 新增记忆空间详情
2026-01-08 17:51:49 +08:00
Ke Sun
7167c2002f feat(implicit memory): upgrade pydantic v2 compatibility and confidence level handling
- Replace deprecated `.dict()` with `.model_dump(mode='json')` for pydantic v2 compatibility
- Convert confidence level from enum-based strings to numerical values (0-100 scale)
- Add confidence level mapping in controller (high: 85, medium: 50, low: 20)
- Update dimension analyzer to handle both string and numeric confidence inputs
- Refactor habit analyzer confidence level validation logic
- Remove ConfidenceLevel enum import and replace with integer-based approach
- Update memory config validators for numerical confidence level support
- Ensure all implicit memory schemas use model_dump for serialization
- Improve type consistency across memory analytics modules
2026-01-08 17:50:01 +08:00
lixinyue11
e05f33b286 修复RAG集群BUG (#59) 2026-01-08 16:13:22 +08:00
乐力齐
a4af0f7432 Feature/actr forget (#55)
* [changes]Request to remove 'config_id' has been received.

* [add]Add the access history record table

* [changes]Request to remove 'config_id' has been received.

* [add]Add the access history record table

* [add]Obtain the record of the forgetting trend

* [changes]Based on the AI's suggestion, make the necessary modifications.
2026-01-08 15:15:13 +08:00
谢俊男
4ac010eda7 feat(agent tool): mcp and custom tool repair 2026-01-08 14:00:28 +08:00
lixiangcheng1
7165d53982 [fix]Clearly debug the model API key 2026-01-07 20:45:23 +08:00
Mark
2360ef64de Merge branch 'develop' of github.com:SuanmoSuanyangTechnology/MemoryBear into develop 2026-01-07 19:35:39 +08:00
Mark
e6a1643bea [modfiy] default_model_config_id miss error 2026-01-07 19:35:29 +08:00
谢俊男
25ce86ae93 feat(agent tool): mcp tool repair 2026-01-07 18:59:28 +08:00
Mark
99b4a17f43 [fix] update config 2026-01-07 18:35:18 +08:00
Mark
621bddd270 Merge branch 'develop' of github.com:SuanmoSuanyangTechnology/MemoryBear into develop 2026-01-07 18:19:27 +08:00
Mark
28eeb0c6f7 [fix] Collaboration Mode default_model_config_id error 2026-01-07 18:19:05 +08:00
Ke Sun
b3f8de3062 Feature/behavior analysis (#53)
* init behavior analysis

* init behavior analysis

* feat(implicit-memory): add implicit memory analytics system
2026-01-07 18:14:25 +08:00
Mark
28eccd6ce9 Merge pull request #50 from SuanmoSuanyangTechnology/fix/workflow
Fix/workflow
2026-01-07 18:04:53 +08:00
mengyonghao
701d506c1f fix(memory): enable perceptual memory API and database configuration 2026-01-07 17:54:46 +08:00
mengyonghao
569a211810 fix(workflow): remove environment variable fields from default workflow template 2026-01-07 17:53:53 +08:00
Mark
04d79ac70f Merge branch 'develop' of github.com:SuanmoSuanyangTechnology/MemoryBear into develop 2026-01-07 17:49:45 +08:00
Mark
fc56e1b624 [modify] multi agent orchestrator 2026-01-07 17:48:17 +08:00
lixinyue11
bcb3d587a1 dev新增短期记忆功能 (#47)
* dev新增短期记忆功能

* dev新增短期记忆功能

* dev新增短期记忆功能

* dev新增短期记忆功能

* dev新增短期记忆功能

* dev新增短期记忆功能

* dev新增短期记忆功能
2026-01-07 16:36:11 +08:00
乐力齐
5fe8043ff8 Fix/actr config (#49)
* [fix]Remove the LLM

* [fix]Failed to restore access history record
2026-01-07 16:00:53 +08:00
Eternity
c52b360068 Feature/memory perceptual (#48)
* perf(workflow): pass JSON data to HTTP node as a string

* perf(prompt_opt): simplify log output

* feat(memory): add perceptual memory page API and related database schema

* perf(log): clean up API exception log output

* perf(memory): simplify perceptual memory timeline response by removing metadata
2026-01-07 16:00:22 +08:00
Mark
cd76ccadc5 [modify] handoffs test 2026-01-07 15:51:12 +08:00
Mark
ba2220d7c8 [add ] handoffs service and test 2026-01-07 14:58:23 +08:00
谢俊男
18f0b86ce2 feat(agent tool): agent tools change the parameter passing to a list 2026-01-07 14:08:42 +08:00
乐力齐
1083698a1f [fix]Remove the LLM (#45) 2026-01-07 13:57:47 +08:00
Mark
1a3b85c2fc Merge pull request #41 from SuanmoSuanyangTechnology/feature/agent-tool_xjn
Feature/agent tool xjn
2026-01-06 20:30:55 +08:00
Mark
9409ec0b6c Merge pull request #38 from SuanmoSuanyangTechnology/fix/workflow
fix(workflow): optimize input_type validation for loop variables
2026-01-06 20:28:35 +08:00
谢俊男
26947d85ae feat(agent tool): agent tool bug fix 2026-01-06 20:05:18 +08:00
谢俊男
eb51e04a18 Merge branch 'refs/heads/develop' into feature/20260105_xjn
# Conflicts:
#	api/app/services/app_chat_service.py
2026-01-06 19:46:36 +08:00
Mark
499d549e41 Merge branch 'develop' of github.com:SuanmoSuanyangTechnology/MemoryBear into develop 2026-01-06 18:59:01 +08:00
Mark
eabaae4a8f [fix] model parameter error 2026-01-06 18:58:36 +08:00
mengyonghao
a716c607d7 fix(workflow): optimize input_type validation for loop variables 2026-01-06 18:44:40 +08:00
乐力齐
3183f39535 Fix/Restore user information archive and one-sentence summary (#37)
* [fix]fix memory insights

* [fix]fix memory insights

* [fix]Based on the correction of the code by sourcery-ai

* [fix]Restore user information archive and one-sentence summary
2026-01-06 18:03:28 +08:00
Mark
6783375a14 [fix] model_parameters 2026-01-06 17:55:42 +08:00
Mark
a940717ed0 [add] publish and share run add workflow type app 2026-01-06 17:11:52 +08:00
谢俊男
492401f9b7 feat(agent tool): add agent tool plugin 2026-01-06 15:25:25 +08:00
Mark
190155f438 Merge branch 'develop' of github.com:SuanmoSuanyangTechnology/MemoryBear into develop 2026-01-06 14:44:13 +08:00
Mark
f59f508c4d [fix] public share agent run 2026-01-06 14:43:23 +08:00
Eternity
79d035ac02 fix(prompt_optim): allow streaming output to raise exceptions (#34) 2026-01-06 14:27:51 +08:00
乐力齐
a0f19ace92 Fix/memory insights (#30)
* [fix]fix memory insights

* [fix]fix memory insights

* [fix]Based on the correction of the code by sourcery-ai
2026-01-06 14:05:15 +08:00
Mark
85c7e531e4 Merge branch 'develop' of github.com:SuanmoSuanyangTechnology/MemoryBear into develop 2026-01-06 13:58:52 +08:00
Mark
ed62e92da6 [fix] miss agent_config 2026-01-06 13:56:40 +08:00
谢俊男
962b74a68a fix(workflow node): Workflow nodes and question classifier nodes - bug fixes 2026-01-06 12:09:55 +08:00
Mark
2fadf88a93 Merge pull request #25 from SuanmoSuanyangTechnology/fix/workflow
Fix/workflow
2026-01-06 12:01:42 +08:00
mengyonghao
411525687e fix(workflow): temporarily ignore non-text fields in knowledge retrieval node 2026-01-06 11:38:03 +08:00
mengyonghao
049642ae48 fix(workflow): require end node only in main graph during runtime validation 2026-01-06 10:46:55 +08:00
mengyonghao
0300abc454 feat(workflow): fix concurrent update conflict of looping flag in parallel loop nodes 2026-01-06 10:35:43 +08:00
Mark
ebdf4e4c5e [fix] converfsation message duplicate entry problem 2026-01-05 19:03:28 +08:00
mengyonghao
71c5b54532 fix(workflow): throw exception when HTTP request node error handler is empty 2026-01-05 18:22:17 +08:00