- Resolve the bug where variables inside Jinja2 template expressions were not correctly extracted.
- Ensure expressions containing {{ ... }} are parsed reliably.
- Introduce a new conditional branch node for workflows.
- Supports multiple case branches with logical operators (AND/OR).
- Enables workflow routing based on evaluated conditions.
- 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.
'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
合并 feature/20251219_yjp 分支到 web 分支
* web: (11 commits)
update web
update web
update web
update web
update web
update web
Sync frontend project from dev-yjp branch
feat(web): Update auto-imports with new React hooks and components
feat:create cusotm text dataset
feat(web): update auto-imports with new React hooks and components
合并 feature/20251219_yjp 分支到 web 分支
Signed-off-by: zhaoying <zhaoying@redbearai.com>
Merged-by: zhaoying <zhaoying@redbearai.com>
CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/4
- 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
- Updated web folder with latest frontend code
- Added new components: CreateContentModal, CreateContentModalExample
- Added new hook: useBreadcrumbManager
- Updated knowledge base components and views
- Updated i18n translations
- Various bug fixes and improvements