Ke Sun
8a0e2da03f
feat(app): enhance memory config extraction with legacy format support
...
- Add support for both memory_config_id (new) and memory_content (legacy) field names
- Implement detection and handling of legacy int format memory configurations
- Add validation for numeric string formats with appropriate warning logs
- Support case-insensitive memory node type matching (MemoryRead/MemoryWrite and memory-read/memory-write)
- Improve error handling with more descriptive logging for invalid UUID strings
- Fix config_id field reference in memory config resolution
- Ensure backward compatibility with existing agent configurations while supporting new format
2026-02-06 16:17:08 +08:00
Ke Sun
157031f23e
Merge branch 'develop' into fix/memory-enduser-config
2026-02-06 15:14:34 +08:00
Ke Sun
8a37869489
feat(memory): refactor config resolution to always retrieve workspace_id fallback
2026-02-06 15:14:08 +08:00
Ke Sun
5c10f11681
feat(memory): add workspace_id fallback support for memory config resolution
...
- Add workspace_id fallback parameter to memory config loading across all services
- Update hot_memory_tags.py to pass workspace_id when resolving memory configuration
- Enhance emotion_analytics_service.py to support workspace_id as fallback for config resolution
- Improve implicit_memory_service.py with workspace_id fallback in config loading
- Update memory_agent_service.py to handle workspace_id resolution and add refactoring TODO
- Enhance preference_analysis.jinja2 prompt with critical guidance on supporting_evidence extraction
- Add validation to check both config_id and workspace_id before raising configuration errors
- Improve error handling and logging for memory configuration resolution across services
- This enables more flexible memory configuration resolution when config_id is unavailable
2026-02-06 14:48:58 +08:00
Mark
7b72bf0cd0
Merge branch 'release/v0.2.3' into develop
...
# Conflicts:
# api/app/core/agent/langchain_agent.py
# api/app/core/memory/agent/langgraph_graph/write_graph.py
# api/app/repositories/neo4j/graph_saver.py
# api/app/services/draft_run_service.py
2026-02-06 14:48:50 +08:00
lixinyue11
75f59a86c8
Fix/develop memory bug ( #341 )
...
* 遗漏的历史映射
* 遗漏的历史映射
* fix_timeline_memories
* fix_timeline_memories
* write_gragp/bug_fix
* write_gragp/bug_fix
* write_gragp/bug_fix
* write_gragp/bug_fix
* Multiple independent transactions - single transaction
* memory_content ->memory_config_id
* memory_content ->memory_config_id
* memory_content ->memory_config_id
* memory_content ->memory_config_id
* memory_content ->memory_config_id
* memory_content ->memory_config_id
* memory_content ->memory_config_id
2026-02-06 13:42:36 +08:00
Mark
1eaf12446f
Merge branch 'develop' of github.com:SuanmoSuanyangTechnology/MemoryBear into develop
2026-02-06 12:36:43 +08:00
Mark
efdd42426e
[add] migration script
2026-02-06 12:36:08 +08:00
lixinyue11
db1da4a61a
Fix/develop memory bug ( #339 )
...
* 遗漏的历史映射
* 遗漏的历史映射
* fix_timeline_memories
* fix_timeline_memories
* write_gragp/bug_fix
* write_gragp/bug_fix
* write_gragp/bug_fix
* write_gragp/bug_fix
* Multiple independent transactions - single transaction
* memory_content ->memory_config_id
* memory_content ->memory_config_id
* memory_content ->memory_config_id
* memory_content ->memory_config_id
* memory_content ->memory_config_id
2026-02-06 12:30:57 +08:00
lixiangcheng1
db46c186aa
[ADD]Three party synchronization
...
1. Three party web website data access - Web site synchronization
Building a knowledge base by crawling web page data in batches through web crawlers
Web site synchronization utilizes crawler technology, which can automatically capture all websites under the same domain name through a single entry website. Currently, it supports up to 200 subpages. For compliance and security reasons, only static site crawling is supported, mainly used for quickly building knowledge bases on various document sites.
2. Feishu Knowledge Base
By configuring Feishu document permissions, a knowledge base can be built using Feishu documents, and the documents will not undergo secondary storage
3. Language Bird Knowledge Base
You can configure the permissions of the language bird document to build a knowledge base using the language bird document, and the document will not undergo secondary storage
2026-02-06 12:18:40 +08:00
Ke Sun
7a78f15a90
Merge branch 'develop' into fix/memory-enduser-config
2026-02-06 11:56:21 +08:00
lixinyue11
c1941809e9
Fix/develop memory bug ( #336 )
...
* 遗漏的历史映射
* 遗漏的历史映射
* fix_timeline_memories
* fix_timeline_memories
* write_gragp/bug_fix
* write_gragp/bug_fix
* write_gragp/bug_fix
* write_gragp/bug_fix
* Multiple independent transactions - single transaction
* memory_content ->memory_config_id
* memory_content ->memory_config_id
2026-02-06 11:42:02 +08:00
lixinyue11
4e7ab3d7e3
Fix/release memory bug ( #335 )
...
* Write Missing None
* Write Missing None
* Write Missing None
* Apply suggestion from @sourcery-ai[bot]
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
* Write Missing None
* redis update
* redis update
* redis update
* redis update
* writer_dup_bug/fix
* writer_graph_bug/fix
* writer_graph_bug/fix
---------
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2026-02-05 17:27:28 +08:00
乐力齐
47b25d7a26
Fix/fact summary ( #333 )
...
* [fix]Disable the contents related to fact_summary
* [fix]Disable the contents related to fact_summary
* [fix]Modify the code based on the AI review
2026-02-05 15:56:43 +08:00
Mark
0249666fa4
Merge pull request #329 from SuanmoSuanyangTechnology/fix/workflow-stream
...
fix(workflow): fix streaming output parsing errors and improve file-type output handling
2026-02-05 15:25:31 +08:00
lixinyue11
aca7d25001
Fix/release memory bug ( #332 )
...
* Write Missing None
* Write Missing None
* Write Missing None
* Apply suggestion from @sourcery-ai[bot]
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
* Write Missing None
* redis update
* redis update
* redis update
* redis update
* writer_dup_bug/fix
---------
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2026-02-05 15:22:15 +08:00
Timebomb2018
2444309bc2
feat((model api key) and app):
...
fix bug
2026-02-05 14:36:55 +08:00
Timebomb2018
effdb88455
feat((model api key) and app):
...
fix bug
2026-02-05 14:31:04 +08:00
Eternity
2f0ce3852e
fix(workflow): fix streaming output parsing errors and improve file-type output handling
2026-02-05 14:30:37 +08:00
Timebomb2018
b569d77a23
feat((model api key) and app):
...
1. model api key call log;
2. model api key Load Balancing Call Policy Implementation;
3. the API call statistics interface under the home page space
2026-02-05 14:22:52 +08:00
乐力齐
07e698265e
Fix/writer memory bug ( #326 )
...
* [fix]Fix the bug
* [fix]Fix the bug
* [fix]Correct the direction indication.
2026-02-05 13:50:04 +08:00
Mark
0632d7611f
Merge pull request #325 from SuanmoSuanyangTechnology/feature/workflow-file
...
feat(workflow, skill): add multimodal image support to workflows and skill prompt generation
2026-02-05 12:29:07 +08:00
Eternity
b3f39eedac
feat(workflow, skill): add multimodal image support to workflows and skill prompt generation
2026-02-05 12:25:53 +08:00
lixinyue11
46ed7e38bf
Fix/release memory bug ( #324 )
...
* Write Missing None
* Write Missing None
* Write Missing None
* Apply suggestion from @sourcery-ai[bot]
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
* Write Missing None
* redis update
* redis update
* redis update
* redis update
---------
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2026-02-05 12:11:45 +08:00
Timebomb2018
06731e2026
fix(app): fix bug in the app release
2026-02-05 11:07:23 +08:00
lixinyue11
3364374dc6
Write Missing None ( #321 )
...
* Write Missing None
* Write Missing None
* Write Missing None
* Apply suggestion from @sourcery-ai[bot]
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
* Write Missing None
---------
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2026-02-05 10:50:10 +08:00
Ke Sun
a3cf773e75
fix(agent): add memory config validation and fix config id reference
...
- Add null check for actual_config_id before calling term_memory_save in langchain_agent.py to prevent errors when memory config is unavailable
- Add warning log when skipping term_memory_save due to missing memory config
- Fix incorrect attribute reference from memory_config.id to memory_config.config_id in memory_agent_service.py
- Fix method call from private _get_workspace_default_config to public get_workspace_default_config in memory_config_service.py
- Ensures graceful handling of missing memory configurations and prevents runtime errors
2026-02-05 10:19:43 +08:00
Timebomb2018
9b4613630b
fix(app): fix bug in the app release
2026-02-05 10:10:18 +08:00
lixinyue
657d48a5f9
Multiple independent transactions - single transaction
2026-02-04 20:25:45 +08:00
lixinyue
3735bdde19
Multiple independent transactions - single transaction
2026-02-04 20:20:45 +08:00
lixinyue
3f906d81cb
Multiple independent transactions - single transaction
2026-02-04 20:19:04 +08:00
lixinyue
7c1f622797
Multiple independent transactions - single transaction
2026-02-04 20:11:05 +08:00
Timebomb2018
021c50a8f2
fix(skills): app configuration bug
2026-02-04 19:28:26 +08:00
Mark
1d9e249a77
[add] migration script
2026-02-04 18:17:44 +08:00
Mark
88b89ef315
Merge pull request #314 from SuanmoSuanyangTechnology/pref/workflow-token
...
feat(workflow): add token usage statistics for question classifier and parameter extraction
2026-02-04 18:10:22 +08:00
Eternity
1c8a83140b
feat(workflow): add token usage statistics for question classifier and parameter extraction
2026-02-04 18:08:02 +08:00
lixinyue
34276e2066
knowledge_retrieval/bug/fix
2026-02-04 18:06:56 +08:00
Timebomb2018
71abd16ae7
fix(skills): configuration modification
2026-02-04 18:06:29 +08:00
lixinyue
918e7285c4
knowledge_retrieval/bug/fix
2026-02-04 18:01:05 +08:00
lixinyue
056d422c71
Merge branch 'refs/heads/release/v0.2.3' into fix/release_memory_bug
2026-02-04 18:00:58 +08:00
lixinyue
5ee54f4e0e
knowledge_retrieval/bug/fix
2026-02-04 17:57:43 +08:00
Mark
2d7401922f
Merge pull request #310 from SuanmoSuanyangTechnology/fix/memoryConfig-ontology
...
Fix/memory config ontology
2026-02-04 17:46:00 +08:00
lanceyq
24fbdbd716
[changes]Modify the code based on the AI review
2026-02-04 17:40:19 +08:00
lanceyq
aad8f0e36b
[changes]Modify the description of the time for the recent event
2026-02-04 17:23:52 +08:00
lanceyq
d0ddf288ca
[fix]1.The "read_all_config" interface returns "scene_name";2.Memory configuration for lightweight query ontology scenarios
2026-02-04 17:10:35 +08:00
lixinyue
7922fc3b0e
knowledge_retrieval/bug/fix
2026-02-04 15:53:13 +08:00
Mark
161da723b9
Merge branch 'develop' of github.com:SuanmoSuanyangTechnology/MemoryBear into develop
...
# Conflicts:
# api/app/core/agent/langchain_agent.py
2026-02-04 15:51:44 +08:00
lixinyue
514c19a247
knowledge_retrieval/bug/fix
2026-02-04 15:51:13 +08:00
lixinyue
41550d4a41
knowledge_retrieval/bug/fix
2026-02-04 15:44:26 +08:00
Mark
7d15182202
[fix] remove error code
2026-02-04 15:40:47 +08:00