Ke Sun
010eff17cf
feat(memory): Refactor memory API to support async task-based and sync operations
...
- Rename endpoints from write_api_service/read_api_service to write/read for clarity
- Add async task-based endpoints (/write, /read) that dispatch to Celery with fair locking
- Add task status polling endpoints (/write/status, /read/status) to check async operation results
- Add synchronous endpoints (/write/sync, /read/sync) for blocking operations with direct results
- Introduce TaskStatusResponse schema for task status polling responses
- Add MemoryWriteSyncResponse and MemoryReadSyncResponse schemas for sync operations
- Implement write_memory_sync and read_memory_sync methods in MemoryAPIService
- Remove await from async service calls in task-based endpoints (now handled by Celery)
- Add Query parameter import for task_id in status endpoints
- Update docstrings to clarify async vs sync behavior and task polling workflow
- Integrate task_service for retrieving Celery task results
2026-04-02 14:47:36 +08:00
Ke Sun
7ce29019f7
feat(memory): Add memory config API controller and end user info endpoints
...
- Create new memory_config_api_controller.py for dedicated memory configuration management
- Add /end_user/info GET endpoint to retrieve end user information (aliases, metadata)
- Add /end_user/info/update POST endpoint to update end user details
- Move /memory/configs endpoint from memory_api_controller to memory_config_api_controller
- Extract _get_current_user helper function to build user context from API key auth
- Support optional app_id parameter in end user creation with UUID validation
- Update service controller imports with alphabetical ordering and multi-line formatting
- Register memory_config_api_controller router in service module initialization
- Refactor memory_api_controller imports for consistency and clarity
2026-04-01 15:06:26 +08:00
Ke Sun
99ff07ccac
Merge pull request #760 from SuanmoSuanyangTechnology/feat/update-enduser-api
...
feat(end-user-api): add authenticated API endpoint for end user creation
2026-04-01 13:44:02 +08:00
yingzhao
b95a627424
Merge pull request #759 from SuanmoSuanyangTechnology/feature/ui_upgrade_zy
...
Feature/UI upgrade zy
2026-04-01 11:29:43 +08:00
yingzhao
c9ca5df05c
Merge branch 'develop' into feature/ui_upgrade_zy
2026-04-01 11:29:03 +08:00
Ke Sun
b482822629
Merge pull request #755 from SuanmoSuanyangTechnology/feature/enduser-page
...
Feature/enduser page
2026-04-01 11:15:33 +08:00
Ke Sun
a1ef5146d7
Merge pull request #756 from SuanmoSuanyangTechnology/feature/rag-structure
...
[feat] RAG storage adjustment returns data structure
2026-04-01 11:13:22 +08:00
lanceyq
6d6338eb06
[changes] Modify the data format and improve the query logic.
2026-04-01 10:36:29 +08:00
lanceyq
b5c5863b39
[feat] RAG storage adjustment returns data structure
2026-03-31 22:16:06 +08:00
lanceyq
ab45b7abac
[feat] Optimize the performance of the /end_users interface and introduce performance monitoring tools
2026-03-31 22:13:12 +08:00
lanceyq
2dfc3b25d8
[feat] User list pagination function
2026-03-31 22:13:12 +08:00
Ke Sun
3ea42ac27f
Merge remote-tracking branch 'origin/release/v0.2.9' into develop
2026-03-31 19:16:13 +08:00
yingzhao
fe29141437
Merge pull request #753 from SuanmoSuanyangTechnology/fix/v0.2.9_zy
...
Fix/v0.2.9 zy
2026-03-31 19:08:40 +08:00
zhaoying
17d3c81c02
fix(web): update i18n
2026-03-31 19:06:55 +08:00
zhaoying
4533644e13
feat(web): intelligentSemanticPruningThreshold add range desc
2026-03-31 18:07:37 +08:00
zhaoying
ca255304d9
feat(web): agent support deep thinking
2026-03-31 18:07:32 +08:00
zhaoying
b40f4829cb
feat(web): custom model add thinking capability
2026-03-31 15:48:19 +08:00
zhaoying
52ae914e17
feat(web): rag content api
2026-03-31 15:43:18 +08:00
zhaoying
baf02e4faa
fix(web): update i18n
2026-03-31 15:39:06 +08:00
Ke Sun
87c2419186
Merge pull request #749 from SuanmoSuanyangTechnology/fix/perceptual-write
...
refactor(memory_agent_service, memory_perceptual_service): Simplify audit logger import and usage
2026-03-31 14:20:59 +08:00
Eternity
2ad25c48d2
refactor(memory_agent_service, memory_perceptual_service): Simplify audit logger import and usage
...
- Removed try-except block for importing `audit_logger` and directly imported it.
- Removed redundant checks for `audit_logger` being `None` before logging operations.
- Added a check in `MemoryPerceptualService` to return `None` if `model_config` or `llm` is `None`.
2026-03-31 14:08:45 +08:00
yingzhao
75e8caf441
Merge pull request #746 from SuanmoSuanyangTechnology/feature/ui_upgrade_zy
...
Feature/UI upgrade zy
2026-03-31 13:44:41 +08:00
yingzhao
4d6038c3cc
Merge pull request #745 from SuanmoSuanyangTechnology/fix/v0.2.9_zy
...
fix(web): ui
2026-03-31 13:42:42 +08:00
zhaoying
d4450658a8
fix(web): ui
2026-03-31 13:41:46 +08:00
zhaoying
02660c7c97
feat(web): end user list support page
2026-03-31 12:26:17 +08:00
yingzhao
3ceb2efeaf
Merge pull request #744 from SuanmoSuanyangTechnology/fix/v0.2.9_zy
...
fix(web): ui
2026-03-31 12:11:58 +08:00
zhaoying
e134b96333
fix(web): ui
2026-03-31 12:10:28 +08:00
Ke Sun
3ea57d1cb0
Merge pull request #724 from SuanmoSuanyangTechnology/feature/memory-agent-perceptual
...
feat(agent, memory): add agent-perceived memory writing
2026-03-31 12:03:47 +08:00
Ke Sun
4a71484151
Merge pull request #708 from SuanmoSuanyangTechnology/pref/workflow-engine
...
pref(workflow): performance optimization
2026-03-31 11:39:34 +08:00
zhaoying
db8b3416a6
feat(web): workflow edge ui
2026-03-31 11:38:42 +08:00
Ke Sun
4df41966fe
Merge pull request #743 from SuanmoSuanyangTechnology/fix/redis-event
...
[fix] Add the function for judging the event loop switch
2026-03-31 10:10:53 +08:00
lanceyq
2d6cde157e
[fix] No event loop is set and defensive programming is not used for non-main thread calls.
2026-03-31 09:59:39 +08:00
lanceyq
abc27c8372
[fix] Add the function for judging the event loop switch
2026-03-30 21:17:21 +08:00
Ke Sun
dbe387f666
fix(tasks): increase redis lock timeout and expiration for write_message_task
...
- Increase lock expiration time from 120 to 600 seconds (5 minutes)
- Increase lock timeout from 300 to 3600 seconds (1 hour)
- Prevents premature lock release during long-running memory write operations
2026-03-30 20:53:17 +08:00
Mark
5e70d436a8
Merge pull request #740 from wanxunyang/feat/app-log-wxy
...
refactor: extract app log SQL queries to Service and Repository layers
2026-03-30 20:20:54 +08:00
wxy
b7198f1abd
fix: allow shared users to view request logs for their own API keys
2026-03-30 20:08:12 +08:00
Mark
5c87a2beeb
Merge pull request #742 from SuanmoSuanyangTechnology/fix/cypher-query
...
[fix] Fix the alias query statement
2026-03-30 19:59:48 +08:00
lanceyq
3419bb137a
[fix] Fix the alias query statement
2026-03-30 19:56:02 +08:00
Ke Sun
a00684c67d
Merge pull request #739 from SuanmoSuanyangTechnology/fix/python-GC
...
[fix] The "write_tools" module actively shuts down the client, and it…
2026-03-30 18:48:34 +08:00
lanceyq
6e7c641fd4
[fix] Remove duplicate creations
2026-03-30 18:46:25 +08:00
lanceyq
0c677701c0
[fix] iron release
2026-03-30 18:29:17 +08:00
wxy
4974f9aa98
refactor: extract app log SQL queries to Service and Repository layers
2026-03-30 18:27:44 +08:00
lanceyq
c90b58bbcd
[fix] The "write_tools" module actively shuts down the client, and it closes before the task event loop is completed.
2026-03-30 18:19:50 +08:00
Ke Sun
d6a243f1be
Merge pull request #731 from SuanmoSuanyangTechnology/fix/cypher-indexes
...
Fix/cypher indexes
2026-03-30 18:18:03 +08:00
lanceyq
418114ef72
[fix] Modify Index Creation
2026-03-30 18:14:31 +08:00
Mark
ceed61167f
Merge pull request #738 from wanxunyang/feat/app-log-wxy
...
feat: optimize app log controller code structure
2026-03-30 18:11:41 +08:00
wxy
83774d7443
feat: optimize app log controller code structure
2026-03-30 18:09:35 +08:00
lanceyq
052c7c19b3
[fix] Avoid unnecessary index creation costs
2026-03-30 17:44:02 +08:00
lanceyq
d42db0ca33
[fix] Delete the index creation for the "config_id" field
2026-03-30 17:44:02 +08:00
lanceyq
e15af5a2ba
[fix] Create a complete index
2026-03-30 17:44:02 +08:00