Ke Sun
68fdf5d76f
Merge pull request #758 from SuanmoSuanyangTechnology/refactor/redis-lock
...
fix(redis_lock): refactor RedisFairLock to use ZSET for queue management and fix loop shutdown
2026-04-01 16:04:10 +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
Ke Sun
b482822629
Merge pull request #755 from SuanmoSuanyangTechnology/feature/enduser-page
...
Feature/enduser page
2026-04-01 11:15:33 +08:00
Eternity
8f609ba29c
fix(redis_lock): refactor RedisFairLock to use ZSET for queue management and fix loop shutdown
...
- Replace list-based queue with sorted set for better dead client cleanup
- Add zombie cleanup buffer to handle expired queue entries
- Fix potential None loop reference in graceful shutdown
- Add task start time to write_message_task result
- Update lock acquisition script to use ZSET operations
- Remove unused queue cleanup scripts
- Ensure proper lock release and renewal failure handling
2026-04-01 11:15:06 +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
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
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
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
lanceyq
3419bb137a
[fix] Fix the alias query statement
2026-03-30 19:56:02 +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
Timebomb2018
9d91453200
fix(mcp): Addressing the issue of asynchronous connections for the MCP
2026-03-30 17:28:13 +08:00
Ke Sun
ea8db7cd90
Merge pull request #728 from SuanmoSuanyangTechnology/fix/aliases
...
[fix] Refusing the user, I went to "other_name"
2026-03-30 17:26:22 +08:00
Eternity
8dd24533bf
fix(memory,task): add Redis fair lock for ordered memory writes
2026-03-30 17:20:54 +08:00
Ke Sun
891cfc2704
feat(end-user-api): add authenticated API endpoint for end user creation
...
- Should be merged after v0.2.9
- Create new end_user_api_controller.py with POST /end_user/create endpoint
- Implement API Key authentication requirement with memory scope
- Add support for optional memory_config_id parameter with workspace default fallback
- Update memory_api_schema.py to remove workspace_id from request (now derived from API key auth)
- Add memory_config_id field to CreateEndUserResponse schema
- Register end_user_api_controller router in service module
- Migrate end user creation from unauthenticated to authenticated API flow
2026-03-30 16:50:56 +08:00
Ke Sun
f7e89af9d2
fix(app): memory config initialization for end users
...
- Add memory_config_id extraction and assignment when creating new end users in public share chat
- Introduce get_or_create_end_user_with_config method to handle memory config setup in single transaction
- Add batch_update_memory_config_id_by_app method for bulk updating end user memory configs
- Rename _update_endusers_memory_config_by_workspace to _update_endusers_memory_config_by_app for correct scope
- Update app publish flow to use app_id instead of workspace_id for memory config updates
- Remove unused actual_end_user_id variable in langchain_agent
- Ensures end users are properly associated with memory configs on creation and during app updates
2026-03-30 16:44:43 +08:00
lanceyq
c0cd2373c0
[fix] Added type checking with isinstance(a, str) and filtering out empty strings with a.strip()
2026-03-30 15:51:30 +08:00
lanceyq
dae7431075
[fix] Refusing the user, I went to "other_name"
2026-03-30 15:39:53 +08:00
Ke Sun
643bbbcf5c
Merge pull request #723 from SuanmoSuanyangTechnology/fix/forgetting-task
...
[fix] Remove the limit on the number of output items.
2026-03-30 15:37:09 +08:00
Mark
6702e86536
Merge pull request #725 from wanxunyang/fix/app-share-log
...
fix: standardize app list pagination and fix session log isolation
2026-03-30 15:15:58 +08:00
Timebomb2018
8285250096
fix(public_share_chat): History conversation message returns audio status
2026-03-30 15:06:35 +08:00
Timebomb2018
c89eccf8fe
fix(public_share_chat): History conversation message returns audio status
2026-03-30 14:55:04 +08:00
lanceyq
5703fc0cb4
[fix] Set the page for the nodes to be forgotten
2026-03-30 13:45:17 +08:00
Eternity
7acb7045f0
feat(agent, memory): add agent-perceived memory writing
2026-03-30 13:39:49 +08:00
wxy
13352178ad
fix: standardize app list pagination and fix session log isolation
2026-03-30 11:55:21 +08:00
lanceyq
8f216db353
[fix] Remove the limit on the number of output items.
2026-03-30 11:35:09 +08:00
Mark
6095170169
Merge pull request #718 from SuanmoSuanyangTechnology/fix/Timebomb_029
...
fix(workflow)
2026-03-27 19:26:44 +08:00
lanceyq
5c11da6a2e
[changes] Semantic pruning enables the file to pass through
2026-03-27 19:25:17 +08:00
Timebomb2018
f485398768
fix(workflow):
...
Parsing of DOC files
2026-03-27 19:13:51 +08:00
lanceyq
289b1989e5
[changes] Semantic pruning enables the file to pass through
2026-03-27 19:13:38 +08:00
Ke Sun
f878846364
Merge pull request #716 from SuanmoSuanyangTechnology/fix/mem-cache
...
feat(cache): Add thread-safe Redis client and enable activity stats c…
2026-03-27 17:35:14 +08:00
Mark
03bc8ee7f5
Merge pull request #715 from SuanmoSuanyangTechnology/fix/Timebomb_029
...
fix(app)
2026-03-27 17:15:13 +08:00