朱文辉
a1aaa9582a
Merge #17 into develop from feature/20251219_myh
...
feat(workflow): add conditional branch (If-Else) node
* feature/20251219_myh: (10 commits)
fix(workflow): fix run_workflow streaming issues
fix(prompt-optimizer): switch to built-in system prompt
feat(workflow): add conditional branch (If-Else) node
perf(types): add Union type declaration for workflow nodes
fix(expression-eval): fix variable extraction issue in Jinja2 templates
docs(samples): add config example for If-Else node
style(workflow): update condition edge comments for conditional nodes
style(enums): correct enum class name spelling
refactor(workflow): unify all enum classes in one file and restructure workflow...
feat(workflow): add import for if-else node configuration
Signed-off-by: Eternity <1533512157@qq.com >
Commented-by: Eternity <1533512157@qq.com >
Reviewed-by: zhuwenhui5566@163.com <zhuwenhui5566@163.com >
Merged-by: zhuwenhui5566@163.com <zhuwenhui5566@163.com >
CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/17
2025-12-19 18:18:50 +08:00
朱文辉
c04b3318c2
Merge #16 into develop from feature/20251219_xjn
...
feat(apikey system): service api key update optimization
* feature/20251219_xjn: (1 commits)
feat(apikey system): service api key update optimization
Signed-off-by: 谢俊男 <accounts_6853d0ea6f8174722fb0c8f1@mail.teambition.com >
Reviewed-by: zhuwenhui5566@163.com <zhuwenhui5566@163.com >
Merged-by: zhuwenhui5566@163.com <zhuwenhui5566@163.com >
CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/16
2025-12-19 18:16:59 +08:00
李新月
5c0d8b42f3
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-19 08:04:12 +00:00
mengyonghao
c1a412508b
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-19 14:09:05 +08:00
谢俊男
3fbd4f206e
feat(apikey system): service api key update optimization
2025-12-19 11:31:09 +08:00
mengyonghao
406a6d1d90
fix(workflow): fix run_workflow streaming issues
...
Resolve exceptions during run_workflow streaming and define proper status codes for error cases.
2025-12-18 19:48:24 +08:00
Mark
8d810af1d0
Merge branch 'develop-mark' into develop
2025-12-18 19:47:06 +08:00
Mark
0503b26232
[add] workflow support stream mode
2025-12-18 19:46:36 +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
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
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
9b8db9a001
[MODIFY] MEM SEE OUTPUT
2025-12-15 20:50:15 +08:00
Mark
7bbef35b7d
[ADD] Merge code
2025-12-15 19:53:33 +08:00
Mark
a4e276ab27
[MODIFY] Code optimization
2025-12-15 14:09:43 +08:00
lanceyq
0117194a67
[fix]修复服务启动 ( #3 )
2025-12-04 18:50:09 +08:00
Ke Sun
c1adc62ec6
feat: Add base project structure with API and web components
2025-12-02 20:28:01 +08:00