lanceyq
725f2f5146
fix:Change the calculation method for the homepage
2026-04-07 23:26:49 +08:00
Timebomb2018
b9439b337a
fix(workflow): 1. List operation node;2.Add space error message;3.File session variable handling
2026-04-07 21:33:11 +08:00
wxy
8a1114a1a7
fix: include features in workflow config snapshot on release restore
2026-04-07 17:35:17 +08:00
Timebomb2018
9a931389ea
fix(app):
...
1. Import issue handling;
2. embedding model checkout;
3. omni model removes thinking
2026-04-07 17:15:32 +08:00
Timebomb2018
38f3455bab
feat(workflow):
...
1. add list operator node for filtering, sorting, limiting, and extracting list items;
2. Increase the session variable to the "file" type
2026-04-03 18:57:28 +08:00
Mark
32740e8159
Merge pull request #786 from wanxunyang/feat/app-log-wxy
...
fix(workflow): persist citations in conversation message meta_data
2026-04-03 16:26:02 +08:00
Ke Sun
bc5ea2d421
Merge pull request #784 from SuanmoSuanyangTechnology/fix/aliases-extract
...
feat(memory): prevent cross-role alias contamination between user and…
2026-04-03 15:26:31 +08:00
lanceyq
c4ff1a325b
refactor(memory): harden alias extraction and sync PgSQL with Neo4j deduped aliases
...
- Strengthen anti-hallucination rules in extract_triplet prompt to
enforce verbatim-only alias extraction, removing suggestive examples
- Add _extract_deduped_entity_aliases to sync historical aliases from
Neo4j two-stage dedup into PgSQL end_user_info
- Remove unused _fetch_neo4j_user_aliases; reuse injected connector
instead of instantiating new Neo4jConnector
- Simplify _would_merge_cross_role and reuse clean_cross_role_aliases
in _normalize_special_entity_names
- Reuse _USER_PLACEHOLDER_NAMES from dedup module to avoid duplication
2026-04-03 14:38:55 +08:00
wxy
d1f0258065
fix(workflow): persist citations in conversation message meta_data
2026-04-03 14:36:43 +08:00
wxy
5db59bc9cf
fix(workflow): persist citations in conversation message meta_data
2026-04-03 14:32:41 +08:00
Mark
a711635694
Merge pull request #785 from wanxunyang/feat/app-log-wxy
...
feat(workflow): add opening statement and citation support
2026-04-03 13:41:08 +08:00
lanceyq
15b3ce3dd5
refactor(memory): deduplicate assistant alias query and fix case-sensitive placeholder matching
...
- Extract fetch_neo4j_assistant_aliases() into deduped_and_disamb.py as
single source of truth, replacing inline Cypher in write_tools and
extraction_orchestrator
- Normalize USER_PLACEHOLDER_NAMES to lowercase and apply .lower() on
all comparisons to prevent case-variant names leaking into aliases
2026-04-03 13:15:57 +08:00
lanceyq
9cc19047b4
fix(memory): prevent cross-role alias contamination in entity dedup
...
- Extract user aliases from raw dialog statements instead of post-dedup
entities to bypass merge pollution
- Add alias cross-cleaning step in _normalize_special_entity_names to
strip AI assistant aliases from user entities before dedup
- Call clean_cross_role_aliases after second-layer dedup to handle
historical dirty data merged from Neo4j
- Fix syntax error in prompt_utils.py (ontology_types variable assignment)
2026-04-03 12:34:04 +08:00
wxy
2e8e63878e
feat(workflow): add opening statement and citation support
...
- Trigger opening statement on new conversation in run/run_stream
- Fix /opening endpoint to support workflow app type
- Fix features field missing in workflow config release snapshot
- Knowledge node returns citations alongside chunks
- Aggregate citations from all knowledge nodes in result builder
- Filter citations based on features.citation.enabled switch
- Fix WorkflowConfigCreate circular import in app_schema
2026-04-03 11:44:07 +08:00
Ke Sun
38955d7d45
Merge pull request #783 from SuanmoSuanyangTechnology/fix/code-none-value
...
fix(code-node): prevent null errors by adding default value handling
2026-04-03 11:19:58 +08:00
Ke Sun
b6167d4e94
Merge pull request #761 from SuanmoSuanyangTechnology/feature/perceptual-read
...
feat(memory): add perceptual memory retrieval service with BM25+embedding fusionding fusion
2026-04-03 11:19:33 +08:00
lanceyq
7890970a39
feat(memory): prevent cross-role alias contamination between user and AI entities
...
- Add speaker context to triplet extraction prompt to distinguish alias ownership
- Add explicit examples and rules in extract_triplet.jinja2 for user vs AI alias attribution
- Introduce cross-role merge protection in dedup (accurate, fuzzy, and LLM stages)
- Normalize special entity names (用户/AI助手) before deduplication
- Add clean_cross_role_aliases() to sanitize aliases before Neo4j write
- Refactor _update_end_user_other_name to merge aliases from PgSQL instead of Neo4j
- Filter AI assistant aliases from user alias extraction in orchestrator
2026-04-03 10:57:30 +08:00
Eternity
203732de1d
fix(code-node): prevent null errors by adding default value handling
2026-04-03 10:18:33 +08:00
Ke Sun
63235de42b
Merge pull request #774 from SuanmoSuanyangTechnology/feat/data-transformation
...
Feat/data transformation
2026-04-02 15:37:50 +08:00
Mark
106a32bc3a
Merge pull request #770 from wanxunyang/feat/app-log-wxy
...
fix: update app_shares.is_active and updated_at when deleting shared app
2026-04-02 15:25:17 +08:00
lanceyq
abbd92b74c
Interface performance optimization, using only one function
2026-04-02 14:19:27 +08:00
lanceyq
960ee9f2df
changes:(services) Modify the query method for user memory to batch processing.
2026-04-02 14:07:51 +08:00
Ke Sun
1c133d3d6c
Merge pull request #775 from SuanmoSuanyangTechnology/pref/redis-connections
...
refactor(tasks, redis_lock): improve Redis connection and lock handling
2026-04-02 14:06:46 +08:00
Eternity
d270d25a99
refactor(tasks, redis_lock): improve Redis connection and lock handling
...
- Increased max_connections for Redis pool from 10 to 100.
- Extended socket_timeout from 5 to 10 seconds.
- Added retry mechanism with exponential backoff for Redis operations in `RedisFairLock`.
2026-04-02 13:57:22 +08:00
lanceyq
8abd59b26e
changes:(controllers & services) The method for calculating general data is extracted and presented as a shared function.
2026-04-02 13:02:21 +08:00
lanceyq
bd48b4fdbe
changes:(controllers) Modify the statistical method of the knowledge base
2026-04-02 12:26:20 +08:00
wxy
be38c9e385
fix: update app_shares.is_active and updated_at when deleting shared app
2026-04-02 11:37:38 +08:00
lanceyq
6eca5f6cdf
feat:(controllers & services) Changes in data from yesterday to today
2026-04-02 10:44:14 +08:00
Mark
cf519738f4
Merge pull request #762 from wanxunyang/feat/app-log-wxy
...
fix: update app_shares.is_active to false when deleting shared app
2026-04-01 20:04:34 +08:00
Ke Sun
cdebe014cf
fix(tasks): disable late acknowledgment for write_message task
2026-04-01 18:21:16 +08:00
Eternity
9cbe9d5edc
feat(memory): add perceptual memory retrieval service with BM25+embedding fusion
2026-04-01 18:03:07 +08:00
Mark
7b5b2ab31a
Merge pull request #757 from wanxunyang/feature/tenant-billing-user-management
...
feat: enhance homepage version management with database persistence
2026-04-01 17:50:38 +08:00
wxy
924d10ac5b
fix: update app_shares.is_active to false when deleting shared app
2026-04-01 17:41:28 +08:00
wxy
0470a71d03
fix: update app_shares.is_active to false when deleting shared app
2026-04-01 17:35:27 +08:00
wxy
5f7db778b5
refactor: remove debug print statements from home page version endpoint
2026-04-01 17:22:49 +08:00
Mark
75bb96d4e7
Merge pull request #741 from SuanmoSuanyangTechnology/feature/agent-tool_xjn
...
fix(app)
2026-04-01 16:08:32 +08:00
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
Timebomb2018
258c19f9e0
fix(app service)Sourcery mistook the log f-string for SQL.:
2026-04-01 16:02:27 +08:00
Timebomb2018
386ed2b914
feat(models): support reasoning_content streaming
2026-04-01 15:57:02 +08:00
Timebomb2018
264183cec2
feat(models): support reasoning_content streaming
2026-04-01 15:47:43 +08:00
Timebomb2018
9561578a2a
Merge branch 'refs/heads/develop' into feature/agent-tool_xjn
...
# Conflicts:
# api/app/core/agent/langchain_agent.py
# api/app/core/tools/mcp/client.py
2026-04-01 15:27:34 +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
wxy
70c3c7dd74
feat: enhance homepage version management with database persistence
2026-04-01 11:20:52 +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
wxy
8b997b422a
feat: enhance homepage version management with database persistence
2026-04-01 11:04:27 +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