李新月
b95b39e435
Merge #24 into develop from fix/memory_reflection
...
反思速度提升,从4分钟优化成1分10-40秒
* fix/memory_reflection: (40 commits squashed)
- 新增反思功能(功能配置接口+反思celery后台检测反思的迭代周期)
- 新增反思功能(功能配置接口+反思celery后台检测反思的迭代周期)
- 新增反思功能(检测代码/规范化程序)
- 新增反思功能(检测代码/规范化程序)
- 新增反思功能(检测代码/规范化程序)
- 新增反思功能(检测代码/规范化程序)
- 新增反思功能(检测代码/规范化程序)
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- Merge branch develop into fix/memory_reflection (Conflict resolved online)
# Conflicts:
# api/app/controllers/memory_reflection_controller.py
# api/app/schemas/memory_reflection_schemas.py
- 反思优化
- Merge remote-tracking branch 'origin/fix/memory_reflection' into fix/memory_reflection
- 统一输出
- 统一输出
- 统一输出
- Merge branch develop into fix/memory_reflection (Conflict resolved online)
# Conflicts:
# api/app/controllers/memory_reflection_controller.py
- 统一输出
- Merge remote-tracking branch 'origin/fix/memory_reflection' into fix/memory_reflection
- 统一输出
- 反思速度提升,从4分钟优化成1分10-40秒
- 反思速度提升,从4分钟优化成1分10-40秒
- 反思速度提升,从4分钟优化成1分10-40秒
- Merge branch develop into fix/memory_reflection (Conflict resolved online)
# Conflicts:
# api/app/core/memory/storage_services/reflection_engine/self_reflexion.py
- 更新 self_reflexion.py
Signed-off-by: aliyun8644380055 <accounts_68c0f5d519f260d93ee2997e@mail.teambition.com >
Commented-by: aliyun8644380055 <accounts_68c0f5d519f260d93ee2997e@mail.teambition.com >
Commented-by: aliyun6762716068 <accounts_68cb7c6b61f5dcc4200d6251@mail.teambition.com >
Reviewed-by: aliyun6762716068 <accounts_68cb7c6b61f5dcc4200d6251@mail.teambition.com >
Merged-by: aliyun6762716068 <accounts_68cb7c6b61f5dcc4200d6251@mail.teambition.com >
CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/24
2025-12-22 02:21:50 +00:00
Mark
5097fed067
[fix] end
2025-12-20 18:12:02 +08:00
Mark
639abae99f
Merge branch 'develop-mark' into develop
...
# Conflicts:
# api/app/core/workflow/executor.py
# api/app/services/workflow_service.py
2025-12-20 17:51:49 +08:00
Mark
fafbe72ce2
[modify] sse format
2025-12-20 17:45:58 +08:00
Mark
43a427bac7
[modify] llm & end logic
2025-12-20 17:37:36 +08:00
Mark
36b36b729b
[add] workflow llm & end logic
2025-12-20 17:25:47 +08:00
Mark
660e1037d6
[add] migration script
2025-12-20 16:14:44 +08:00
Mark
d8fcea8564
[fix] model support stream
2025-12-20 16:03:41 +08:00
谢俊男
b00d6e37e3
feat(tool system): tool system development
2025-12-20 16:03:06 +08:00
Mark
e4f7fb43f5
[add] migration script
2025-12-20 15:46:55 +08:00
乐力齐
902dd18bc8
Merge #21 into develop from feature/emotion-engine
...
feature/情绪引擎
* feature/emotion-engine: (7 commits squashed)
- [feature]Emotion Engine Development
- [feature]Emotion Engine Development
- Merge branch 'feature/emotion-engine' of codeup.aliyun.com:redbearai/python/redbear-mem-open into feature/emotion-engine
- [fix]1.Fix the front-end files;2.Cache Management Deletion;3.Delete "check_code.py"
- [fix]1.Fix the front-end files;2.Cache Management Deletion;3.Delete "check_code.py"
- Merge branch 'feature/emotion-engine' of codeup.aliyun.com:redbearai/python/redbear-mem-open into feature/emotion-engine
- [fix]fix vite.config.ts
Signed-off-by: 乐力齐 <accounts_690c7b0af9007d7e338af636@mail.teambition.com >
Commented-by: aliyun6762716068 <accounts_68cb7c6b61f5dcc4200d6251@mail.teambition.com >
Commented-by: 乐力齐 <accounts_690c7b0af9007d7e338af636@mail.teambition.com >
Reviewed-by: aliyun6762716068 <accounts_68cb7c6b61f5dcc4200d6251@mail.teambition.com >
Merged-by: aliyun6762716068 <accounts_68cb7c6b61f5dcc4200d6251@mail.teambition.com >
CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/21
2025-12-20 15:46:55 +08:00
乐力齐
fa6e1c9d93
Merge #13 into develop from fix/stream-output
...
'fix/stream-output'
* fix/stream-output: (17 commits squashed)
- [fix]Fix the issue where the streaming output effect is not obvious.
- [fix]Fix the issue where the streaming output effect is not obvious.
- Merge branch 'fix/stream-output' of codeup.aliyun.com:redbearai/python/redbear-mem-open into fix/stream-output
- [fix]
- [fix]Skip time extraction
- [fix]
- [fix]Skip time extraction
- Merge branch 'fix/stream-output' of codeup.aliyun.com:redbearai/python/redbear-mem-open into fix/stream-output
- [fix]Remove human-induced delays
- [fix]Fix the issue where the streaming output effect is not obvious.
- [fix]
- [fix]Skip time extraction
- [fix]Fix the issue where the streaming output effect is not obvious.
- [fix]
- [fix]Skip time extraction
- [fix]Remove human-induced delays
- Merge branch 'fix/stream-output' of codeup.aliyun.com:redbearai/python/redbear-mem-open into fix/stream-output
Signed-off-by: 乐力齐 <accounts_690c7b0af9007d7e338af636@mail.teambition.com >
Reviewed-by: aliyun6762716068 <accounts_68cb7c6b61f5dcc4200d6251@mail.teambition.com >
Merged-by: aliyun6762716068 <accounts_68cb7c6b61f5dcc4200d6251@mail.teambition.com >
CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/13
2025-12-20 15:42:56 +08:00
乐力齐
cdeace7e58
Merge #21 into develop from feature/emotion-engine
...
feature/情绪引擎
* feature/emotion-engine: (7 commits squashed)
- [feature]Emotion Engine Development
- [feature]Emotion Engine Development
- Merge branch 'feature/emotion-engine' of codeup.aliyun.com:redbearai/python/redbear-mem-open into feature/emotion-engine
- [fix]1.Fix the front-end files;2.Cache Management Deletion;3.Delete "check_code.py"
- [fix]1.Fix the front-end files;2.Cache Management Deletion;3.Delete "check_code.py"
- Merge branch 'feature/emotion-engine' of codeup.aliyun.com:redbearai/python/redbear-mem-open into feature/emotion-engine
- [fix]fix vite.config.ts
Signed-off-by: 乐力齐 <accounts_690c7b0af9007d7e338af636@mail.teambition.com >
Commented-by: aliyun6762716068 <accounts_68cb7c6b61f5dcc4200d6251@mail.teambition.com >
Commented-by: 乐力齐 <accounts_690c7b0af9007d7e338af636@mail.teambition.com >
Reviewed-by: aliyun6762716068 <accounts_68cb7c6b61f5dcc4200d6251@mail.teambition.com >
Merged-by: aliyun6762716068 <accounts_68cb7c6b61f5dcc4200d6251@mail.teambition.com >
CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/21
2025-12-20 15:37:08 +08:00
李新月
6ecf5edfb3
Merge #19 into develop from fix/memory_reflection
...
统一输出
* fix/memory_reflection: (35 commits squashed)
- 新增反思功能(功能配置接口+反思celery后台检测反思的迭代周期)
- 新增反思功能(功能配置接口+反思celery后台检测反思的迭代周期)
- 新增反思功能(检测代码/规范化程序)
- 新增反思功能(检测代码/规范化程序)
- 新增反思功能(检测代码/规范化程序)
- 新增反思功能(检测代码/规范化程序)
- 新增反思功能(检测代码/规范化程序)
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- Merge branch develop into fix/memory_reflection (Conflict resolved online)
# Conflicts:
# api/app/controllers/memory_reflection_controller.py
# api/app/schemas/memory_reflection_schemas.py
- 反思优化
- Merge remote-tracking branch 'origin/fix/memory_reflection' into fix/memory_reflection
- 统一输出
- 统一输出
- 统一输出
- Merge branch develop into fix/memory_reflection (Conflict resolved online)
# Conflicts:
# api/app/controllers/memory_reflection_controller.py
- 统一输出
- Merge remote-tracking branch 'origin/fix/memory_reflection' into fix/memory_reflection
- 统一输出
Signed-off-by: aliyun8644380055 <accounts_68c0f5d519f260d93ee2997e@mail.teambition.com >
Reviewed-by: aliyun6762716068 <accounts_68cb7c6b61f5dcc4200d6251@mail.teambition.com >
Merged-by: aliyun6762716068 <accounts_68cb7c6b61f5dcc4200d6251@mail.teambition.com >
CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/19
2025-12-20 15:37:08 +08:00
Mark
056411f47d
[add] migration script
2025-12-20 15:37:08 +08:00
mengyonghao
00a5016c06
feat(workflow): add import for if-else node configuration
2025-12-20 15:37:08 +08:00
mengyonghao
d12b1e4a51
refactor(workflow): unify all enum classes in one file and restructure workflow node type definitions
2025-12-20 15:37:08 +08:00
mengyonghao
4e0c5ed3c1
style(enums): correct enum class name spelling
2025-12-20 15:37:08 +08:00
mengyonghao
debb2f0162
style(workflow): update condition edge comments for conditional nodes
2025-12-20 15:37:08 +08:00
mengyonghao
cb6d7b04f9
docs(samples): add config example for If-Else node
...
- Provide a sample configuration for the If-Else workflow node.
- Helps users understand how to define conditional branches.
2025-12-20 15:37:08 +08:00
mengyonghao
aa44b8df71
fix(expression-eval): fix variable extraction issue in Jinja2 templates
...
- Resolve the bug where variables inside Jinja2 template expressions were not correctly extracted.
- Ensure expressions containing {{ ... }} are parsed reliably.
2025-12-20 15:37:08 +08:00
mengyonghao
647fc27bb5
perf(types): add Union type declaration for workflow nodes
...
- Introduce a `Nodes` type as a Union of all workflow node classes.
- Improves type checking and IDE autocompletion.
2025-12-20 15:37:08 +08:00
mengyonghao
01ac36195a
feat(workflow): add conditional branch (If-Else) node
...
- Introduce a new conditional branch node for workflows.
- Supports multiple case branches with logical operators (AND/OR).
- Enables workflow routing based on evaluated conditions.
2025-12-20 15:37:07 +08:00
mengyonghao
5cd46e441e
fix(prompt-optimizer): switch to built-in system prompt
...
- Replace the system prompt of the prompt optimization model with a built-in prompt.
- Remove system prompt entries from the database.
- Remove the API endpoint for managing system prompt configuration.
2025-12-20 15:35:11 +08:00
mengyonghao
15fac38e30
fix(workflow): fix run_workflow streaming issues
...
Resolve exceptions during run_workflow streaming and define proper status codes for error cases.
2025-12-20 15:34:17 +08:00
Mark
8c73aa60b9
[add] migration script
2025-12-20 15:34:17 +08:00
李新月
2ab0335f88
Merge #18 into develop from fix/memory_reflection
...
反思优化
* fix/memory_reflection: (28 commits squashed)
- 新增反思功能(功能配置接口+反思celery后台检测反思的迭代周期)
- 新增反思功能(功能配置接口+反思celery后台检测反思的迭代周期)
- 新增反思功能(检测代码/规范化程序)
- 新增反思功能(检测代码/规范化程序)
- 新增反思功能(检测代码/规范化程序)
- 新增反思功能(检测代码/规范化程序)
- 新增反思功能(检测代码/规范化程序)
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- Merge branch develop into fix/memory_reflection (Conflict resolved online)
# Conflicts:
# api/app/controllers/memory_reflection_controller.py
# api/app/schemas/memory_reflection_schemas.py
- 反思优化
- Merge remote-tracking branch 'origin/fix/memory_reflection' into fix/memory_reflection
Signed-off-by: aliyun8644380055 <accounts_68c0f5d519f260d93ee2997e@mail.teambition.com >
Reviewed-by: aliyun6762716068 <accounts_68cb7c6b61f5dcc4200d6251@mail.teambition.com >
Merged-by: aliyun6762716068 <accounts_68cb7c6b61f5dcc4200d6251@mail.teambition.com >
CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/18
2025-12-20 15:34:17 +08:00
李新月
240e94cb38
Merge #9 into develop from fix/memory_reflection
...
新增反思功能(功能配置接口+反思celery后台检测反思的迭代周期)
* fix/memory_reflection: (24 commits squashed)
- 新增反思功能(功能配置接口+反思celery后台检测反思的迭代周期)
- 新增反思功能(功能配置接口+反思celery后台检测反思的迭代周期)
- 新增反思功能(检测代码/规范化程序)
- 新增反思功能(检测代码/规范化程序)
- 新增反思功能(检测代码/规范化程序)
- 新增反思功能(检测代码/规范化程序)
- 新增反思功能(检测代码/规范化程序)
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
- 反思优化
Signed-off-by: aliyun8644380055 <accounts_68c0f5d519f260d93ee2997e@mail.teambition.com >
Commented-by: aliyun8644380055 <accounts_68c0f5d519f260d93ee2997e@mail.teambition.com >
Commented-by: aliyun6762716068 <accounts_68cb7c6b61f5dcc4200d6251@mail.teambition.com >
Reviewed-by: aliyun6762716068 <accounts_68cb7c6b61f5dcc4200d6251@mail.teambition.com >
Merged-by: aliyun6762716068 <accounts_68cb7c6b61f5dcc4200d6251@mail.teambition.com >
CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/9
2025-12-20 15:34:14 +08:00
Mark
3aff6baccb
[add] workflow support stream mode
2025-12-20 15:33:23 +08:00
lixiangcheng1
9e48f2143e
[fix]document chunk QA
2025-12-20 15:28:18 +08:00
乐力齐
f38c065f94
Merge #13 into develop from fix/stream-output
...
'fix/stream-output'
* fix/stream-output: (17 commits squashed)
- [fix]Fix the issue where the streaming output effect is not obvious.
- [fix]Fix the issue where the streaming output effect is not obvious.
- Merge branch 'fix/stream-output' of codeup.aliyun.com:redbearai/python/redbear-mem-open into fix/stream-output
- [fix]
- [fix]Skip time extraction
- [fix]
- [fix]Skip time extraction
- Merge branch 'fix/stream-output' of codeup.aliyun.com:redbearai/python/redbear-mem-open into fix/stream-output
- [fix]Remove human-induced delays
- [fix]Fix the issue where the streaming output effect is not obvious.
- [fix]
- [fix]Skip time extraction
- [fix]Fix the issue where the streaming output effect is not obvious.
- [fix]
- [fix]Skip time extraction
- [fix]Remove human-induced delays
- Merge branch 'fix/stream-output' of codeup.aliyun.com:redbearai/python/redbear-mem-open into fix/stream-output
Signed-off-by: 乐力齐 <accounts_690c7b0af9007d7e338af636@mail.teambition.com >
Reviewed-by: aliyun6762716068 <accounts_68cb7c6b61f5dcc4200d6251@mail.teambition.com >
Merged-by: aliyun6762716068 <accounts_68cb7c6b61f5dcc4200d6251@mail.teambition.com >
CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/13
2025-12-20 15:28:18 +08:00
谢俊男
c26af11f76
feat(apikey system): tool system development
2025-12-20 15:24:28 +08:00
Mark
6c04c99073
[modify] workflow executor support stream
2025-12-20 13:59:20 +08:00
谢俊男
3fbd4f206e
feat(apikey system): service api key update optimization
2025-12-19 11:31:09 +08:00
Mark
0503b26232
[add] workflow support stream mode
2025-12-18 19:46:36 +08:00
谢俊男
45db8fd1bf
feat(apikey system): add the API key test interface for the memory engine
2025-12-18 18:52:38 +08:00
谢俊男
d3cd1f2c1a
feat(apikey system): the default resource_id for creating the service's apikey is workspace_id
2025-12-18 17:58:55 +08:00
谢俊男
f419b6b001
Merge branch 'refs/heads/develop' into feature/20251219_xjn
2025-12-18 16:58:45 +08:00
谢俊男
43a30b5a1f
feat(apikey system): api key authentication qps optimization
2025-12-18 16:56:34 +08:00
lixiangcheng1
64ecd8cabc
[fix]Add knowledge graph functionality to document parsing configuration
2025-12-18 15:54:31 +08:00
lixiangcheng1
a44673ae01
[fix]When updating the knowledge base name, check if it exists
2025-12-18 15:53:31 +08:00
Mark
d229733dee
[modify] model list Types support separation by comma (,)
2025-12-18 14:08:40 +08:00
谢俊男
6d462c8f2c
feat(apikey system): api key authentication delete the GET method
2025-12-18 12:26:39 +08:00
谢俊男
7c9df70724
feat(apikey system): api key authentication adds the GET method
2025-12-18 12:20:21 +08:00
Mark
2a7199f593
[modify] migrations script
2025-12-17 18:51:28 +08:00
mengyonghao
89da098948
fix(prompt-session): 修复请求新的session时orm解析失败的问题
2025-12-17 18:11:01 +08:00
mengyonghao
3950b718cd
fix(prompt-optimizer): 修复数据模型和业务逻辑问题
...
- 修复PromptOptimizerSessionHistory模型中session_id外键关系错误
- 统一会话ID的使用逻辑,区分内部ID和外部session_id
- 修复服务层create_update_model_config方法参数不匹配问题
- 优化会话历史查询逻辑,确保正确的数据关联
- 修复消息创建时的会话验证和ID映射问题
- 改进Repository层的类型注解准确性
2025-12-17 17:20:05 +08:00
mengyonghao
07273e4c03
fix(database): fix session_id foreign key dependency
2025-12-17 16:33:11 +08:00
mengyonghao
64d9dde209
feat(prompt-optimizer): add prompt optimization APIs and database tables
...
- Added API endpoints for prompt optimization:
* POST /prompt/sessions: Create a new prompt optimization session
* GET /prompt/sessions/{session_id}: Retrieve session message history
* POST /prompt/sessions/{session_id}/messages: Send message and get optimized prompt
* PUT /prompt/model: Create or update system prompt model configuration
- Added database models for prompt optimization:
* prompt_opt_session: Stores session metadata
* prompt_opt_session_history: Stores session message history
* prompt_opt_message: Stores user and assistant messages
* prompt_opt_model_config: Stores system prompt model configurations
- Updated service layer to handle message creation, prompt optimization, and variable parsing
- Added corresponding Pydantic schemas for request and response validation
2025-12-17 15:59:33 +08:00
Mark
7386ea32f1
[modify] ignore
2025-12-16 17:39:08 +08:00