Ke Sun
a01911ba5f
Merge branch 'develop' into fix/memory-enduser-config
2026-01-29 19:43:10 +08:00
lixinyue11
ee50b25d06
Add/develop memory ( #247 )
...
* 遗漏的历史映射
* 遗漏的历史映射
* 遗漏的历史映射
* 遗漏的历史映射
* 遗漏的历史映射
* 遗漏的历史映射
* 遗漏的历史映射
* 遗漏的历史映射
* 遗漏的历史映射
2026-01-29 19:27:02 +08:00
yingzhao
a67be85858
Merge pull request #245 from SuanmoSuanyangTechnology/feature/model_zy
...
feat(web): model ui update
2026-01-29 19:05:39 +08:00
zhaoying
59c5a3973a
feat(web): model ui update
2026-01-29 19:04:57 +08:00
Mark
d76d7343ff
Merge pull request #244 from SuanmoSuanyangTechnology/feature/agent-tool_xjn
...
fix(model)
2026-01-29 18:09:40 +08:00
Timebomb2018
2b9638e7d3
fix(model): bug fix
2026-01-29 18:06:32 +08:00
lixinyue11
3459a73705
Add/develop memory ( #243 )
...
* 遗漏的历史映射
* 遗漏的历史映射
2026-01-29 17:57:27 +08:00
yingzhao
bd480a466b
Merge pull request #242 from SuanmoSuanyangTechnology/feature/model_zy
...
feat(web): model ui update
2026-01-29 17:51:41 +08:00
zhaoying
4c34cb55b6
feat(web): model ui update
2026-01-29 17:50:57 +08:00
Ke Sun
7347f9104c
Merge branch 'develop' into fix/memory-enduser-config
2026-01-29 17:49:36 +08:00
yingzhao
e137e4a38a
Merge pull request #241 from SuanmoSuanyangTechnology/feature/model_zy
...
feat(web): model ui update
2026-01-29 17:36:41 +08:00
zhaoying
b5989bbc25
feat(web): model ui update
2026-01-29 17:35:54 +08:00
Mark
c31ff7ceef
Merge pull request #240 from SuanmoSuanyangTechnology/add/develop_memory
...
Add/develop memory
2026-01-29 17:28:17 +08:00
lixinyue
75066f2827
遗漏的历史映射
2026-01-29 17:05:49 +08:00
lixinyue
303f3aefef
Merge branch 'refs/heads/develop' into add/develop_memory
2026-01-29 16:58:19 +08:00
lixinyue
44fb5e0fd5
遗漏的历史映射
2026-01-29 16:56:50 +08:00
lixinyue11
17a695120a
Add/develop memory ( #239 )
...
* 遗漏的历史映射
* 遗漏的历史映射
* 遗漏的历史映射
2026-01-29 16:03:44 +08:00
Mark
6dc716eaf8
Merge pull request #238 from SuanmoSuanyangTechnology/feature/agent-tool_xjn
...
fix(model)
2026-01-29 16:03:34 +08:00
lixinyue
194be086d4
遗漏的历史映射
2026-01-29 15:58:11 +08:00
lixinyue
c49603c25b
Merge branch 'refs/heads/develop' into add/develop_memory
2026-01-29 15:53:31 +08:00
lixinyue
8de85a4041
遗漏的历史映射
2026-01-29 15:52:32 +08:00
lixinyue
58a2135fa4
遗漏的历史映射
2026-01-29 15:33:37 +08:00
Timebomb2018
ab9a97db22
fix(model): bug fix
2026-01-29 15:25:25 +08:00
Timebomb2018
d291c241d5
fix(model): the model type does not allow modification, delete tts and speech2text type
2026-01-29 15:21:06 +08:00
yingzhao
24d4cb9b94
Merge pull request #237 from SuanmoSuanyangTechnology/feature/model_zy
...
fix(web): model bugfix
2026-01-29 14:59:05 +08:00
zhaoying
5b9adb799f
fix(web): model bugfix
2026-01-29 14:51:27 +08:00
Mark
38b41df36b
[fix] api
2026-01-29 14:41:45 +08:00
Mark
34a9befe5c
Merge branch 'develop' of github.com:SuanmoSuanyangTechnology/MemoryBear into develop
2026-01-29 14:03:29 +08:00
Mark
67fd579074
[fix] api
2026-01-29 14:03:21 +08:00
Mark
e2714b942d
[add]migration script
2026-01-29 13:54:38 +08:00
Mark
6b2556f870
Merge pull request #236 from SuanmoSuanyangTechnology/feature/agent-tool_xjn
...
fix(model)
2026-01-29 13:51:14 +08:00
Timebomb2018
43e6e9d201
fix(model): bug fix
2026-01-29 12:33:40 +08:00
yingzhao
131e0cc4c7
Merge pull request #235 from SuanmoSuanyangTechnology/feature/model_zy
...
fix(web): model list remove is_active
2026-01-29 12:18:33 +08:00
zhaoying
537be81b8f
fix(web): model list remove is_active
2026-01-29 12:16:45 +08:00
yingzhao
765168db7f
Merge pull request #233 from SuanmoSuanyangTechnology/feature/model_zy
...
fix(web): model bugfix
2026-01-29 12:11:17 +08:00
zhaoying
1e16b06a24
fix(web): model bugfix
2026-01-29 12:10:19 +08:00
Ke Sun
42b59a644d
feat(memory): add protected memory config deletion with end-user safeguards
...
- Add force parameter to delete_config endpoint for controlled deletion of in-use configs
- Implement MemoryConfigService.delete_config with protection against deleting default configs
- Add validation to prevent deletion of configs with connected end-users unless force=True
- Reorganize controller imports to remove duplicates and improve maintainability
- Clean up unused database connection management code from memory_storage_controller
- Add detailed docstring to delete_config endpoint explaining protection mechanisms
- Update error handling with specific BizCode.RESOURCE_IN_USE for configs in active use
- Add comprehensive logging for deletion attempts, warnings, and affected users
- Refactor ConfigParamsDelete schema usage to use MemoryConfigService directly
- Improve API response structure with affected_users count and force_required flag
2026-01-29 12:05:50 +08:00
Ke Sun
d9fa9039bb
feat(memory): add memory config caching to end_user model
...
- Add memory_config_id field to EndUser model for lazy caching of memory configuration
- Create get_end_user_memory_config_id() function for fast retrieval of cached config ID
- Implement lazy update mechanism in get_end_user_connected_config() to cache memory_config_id
- Optimize memory config lookup by storing config ID directly on end_user record
- Improve import organization and formatting in memory_agent_service.py
- Add indexed foreign key relationship to data_config table for efficient queries
2026-01-29 12:05:50 +08:00
Mark
cd4c93a5cb
[fix] web search set for v1 api
2026-01-29 11:52:59 +08:00
Mark
808961243d
[fix] chat api for workflow
2026-01-29 11:47:39 +08:00
lixinyue11
4d80e119f7
提交遗漏 ( #228 )
2026-01-29 10:13:55 +08:00
yingzhao
10c87edae1
Merge pull request #230 from SuanmoSuanyangTechnology/feature/model_zy
...
fix(web): model bugfix
2026-01-28 20:00:25 +08:00
zhaoying
0eb335d112
fix(web): model bugfix
2026-01-28 19:58:33 +08:00
yingzhao
b8b26ccfe5
Merge pull request #229 from SuanmoSuanyangTechnology/feature/model_zy
...
fix(web): model bugfix
2026-01-28 18:46:27 +08:00
zhaoying
e89c23da4d
fix(web): model bugfix
2026-01-28 18:41:56 +08:00
Mark
ced087f8ae
Merge pull request #225 from SuanmoSuanyangTechnology/fix/memory_bug_fix
...
Fix/memory bug fix
2026-01-28 16:10:58 +08:00
lixinyue
0f1eed0b1e
旧数据兼容
2026-01-28 16:07:53 +08:00
lixinyue
95f15b77a3
旧数据兼容
2026-01-28 16:05:54 +08:00
lixinyue
f9ccfd5ca0
Merge branch 'refs/heads/develop' into fix/memory_bug_fix
2026-01-28 16:05:46 +08:00
lixinyue
7207d7c847
旧数据兼容
2026-01-28 16:05:35 +08:00