yujiangping
6879326429
fix:vite config
2025-12-24 12:23:55 +08:00
yujiangping
42610f9cb0
fix:git commit
2025-12-24 12:05:36 +08:00
yujiangping
f78fc241a8
Merge origin/develop_web into feature/20251219_yjp
...
- Resolved conflict in web/src/components/RbModal/index.tsx
- Combined className and maskClosable properties
2025-12-22 17:34:53 +08:00
yujiangping
54ff151ed8
feat(components): Add markdown editing capability and enhance component styling
...
- Add editable mode to Markdown component with edit/save/cancel buttons
- Import EditOutlined, SaveOutlined, CloseOutlined icons from ant-design
- Add useState, useRef, useEffect hooks for managing edit state
- Add editable, onContentChange, and onSave props to RbMarkdownProps interface
- Create RbModal component with new index.css stylesheet for modal styling
- Add index.css stylesheet to KnowledgeBase components for consistent styling
- Update i18n translations in en.ts and zh.ts for new UI elements
- Refactor Markdown component handlers to accept and spread additional props
- Update InsertModal and RecallTestResult components for improved UX
- Fix prop spreading in component handlers to maintain compatibility with Ant Design components
2025-12-22 17:03:31 +08:00
赵莹
5a6f9dfc11
Merge #30 into develop_web from feature/20251219_zy
...
feat(web): node show id; update reflection engine example
* feature/20251219_zy: (1 commits)
feat(web): node show id; update reflection engine example
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/30
2025-12-22 14:30:34 +08:00
zhaoying
b1e69e154b
feat(web): node show id; update reflection engine example
2025-12-22 14:29:53 +08:00
赵莹
497db0bea9
Merge #29 into develop_web from feature/20251219_zy
...
feat(web): Workflow
* feature/20251219_zy: (1 commits)
feat(web): Workflow
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/29
2025-12-22 11:33:37 +08:00
zhaoying
ad0a7ebcb9
feat(web): Workflow
2025-12-22 11:33:08 +08:00
赵莹
1d97660a20
Merge #28 into develop_web from feature/20251219_zy
...
feat(web): Add Workflow
* feature/20251219_zy: (1 commits)
feat(web): Add Workflow
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/28
2025-12-22 10:47:23 +08:00
zhaoying
281aec23e3
feat(web): Add Workflow
2025-12-22 10:46:19 +08:00
vrhs@163.com
aab8043c8d
Merge #27 into develop_web from feature/20251219_yjp
...
feat(knowledgeBase): Refactor document list API and improve polling logic
* feature/20251219_yjp: (1 commits)
feat(knowledgeBase): Refactor document list API and improve polling logic
Signed-off-by: vrhs@163.com <accounts_660b6454a0eb398d3f8d2c76@mail.teambition.com >
Merged-by: vrhs@163.com <accounts_660b6454a0eb398d3f8d2c76@mail.teambition.com >
CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/27
2025-12-22 10:11:52 +08:00
yujiangping
ad2f47029d
feat(knowledgeBase): Refactor document list API and improve polling logic
...
- Update getDocumentList API to accept kb_id as separate parameter instead of extracting from query object
- Fix parameter name from auto_question to auto_questions in parser config
- Add progress field initialization in document update params
- Improve polling logic to handle both auto-return and manual stay scenarios with proper loading state management
- Add console logging for debugging polling status and document processing
- Reduce polling interval from 5000ms to 3000ms for faster status updates
- Enhance cleanup logic with route change detection to prevent memory leaks
- Add record parameter to progress render function for better data access
- Refactor confirm dialog callbacks to properly manage loading state timing
- Ensure loading indicator displays correctly when user chooses to stay on page
2025-12-22 10:10:07 +08:00
赵莹
9964f44fc8
Merge #23 into develop_web from feature/20251219_zy
...
feat(web): remove mock data
* feature/20251219_zy: (1 commits)
feat(web): remove mock data
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/23
2025-12-19 19:10:32 +08:00
zhaoying
e1bccff79b
feat(web): remove mock data
2025-12-19 19:10:06 +08:00
赵莹
7b0ed80377
Merge #22 into develop_web from feature/20251219_zy
...
style: UI update
* feature/20251219_zy: (1 commits)
style: UI update
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/22
2025-12-19 19:08:36 +08:00
zhaoying
6d91f84e33
style: UI update
2025-12-19 19:08:08 +08:00
赵莹
54c2c8f74f
Merge #20 into develop_web from feature/20251219_zy
...
feat(web): remove mock data
* feature/20251219_zy: (5 commits)
feat(web): update api key
feat(web): Add Emotion Memory
feat(web): Add Reflection Engine
feat(web): Add Reflection Engine API
feat(web): remove mock data
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/20
2025-12-19 18:55:33 +08:00
zhaoying
eaa47ad9f1
feat(web): remove mock data
2025-12-19 18:54:00 +08:00
zhaoying
1027213fc7
feat(web): Add Reflection Engine API
2025-12-19 18:52:33 +08:00
zhaoying
62071ff96f
feat(web): Add Reflection Engine
2025-12-19 18:51:07 +08:00
zhaoying
bcec0ae401
feat(web): Add Emotion Memory
2025-12-19 16:54:52 +08:00
zhaoying
7da3c5a8e8
feat(web): update api key
2025-12-18 20:35:38 +08:00
赵莹
6cd436d9b8
Merge #11 into develop_web from feature/20251219_zy
...
style(web): ui update
* feature/20251219_zy: (1 commits)
style(web): ui update
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/11
2025-12-18 15:20:36 +08:00
zhaoying
50a244af4d
style(web): ui update
2025-12-18 15:20:01 +08:00
赵莹
d53663fc78
Merge #10 into develop_web from feature/20251219_zy
...
feature: app's api key support delete
* feature/20251219_zy: (1 commits)
feature: app's api key support delete
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/10
2025-12-18 15:13:34 +08:00
zhaoying
3ab68e126f
feature: app's api key support delete
2025-12-18 15:12:39 +08:00
赵莹
83a831d27a
Merge #8 into develop_web from feature/20251219_zy
...
feat(web): api method readonly
* feature/20251219_zy: (1 commits)
feat(web): api method readonly
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/8
2025-12-18 13:35:11 +08:00
zhaoying
fa53ab1d6a
feat(web): api method readonly
2025-12-18 13:34:32 +08:00
赵莹
46fe6fff89
Merge #7 into develop_web from feature/20251219_zy
...
feat(web): api key
* feature/20251219_zy: (1 commits)
feat(web): api key
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/7
2025-12-18 12:36:28 +08:00
zhaoying
29cc708f4f
feat(web): api key
2025-12-18 12:35:42 +08:00
赵莹
03e328ae65
Merge #5 into develop_web from feature/20251219_zy
...
optimize: check en.ts
* feature/20251219_zy: (6 commits)
optimize: UI update
components: Add Chat component
optimize: 1. stream request optimize; 2. replace Chat component
feature: memory extraction engine debug switch to streaming output
feature: add api key
optimize: check en.ts
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/5
2025-12-18 10:24:15 +08:00
赵莹
c4423d609b
Merge #4 into develop_web from web
...
合并 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
2025-12-18 10:23:01 +08:00
Mark
2a7199f593
[modify] migrations script
2025-12-17 18:51:28 +08:00
朱文辉
9fb9bec756
Merge #3 into develop from feature/20251219_myh
...
feat(prompt-optimizer): add prompt optimization APIs and database tables
* feature/20251219_myh: (4 commits)
feat(prompt-optimizer): add prompt optimization APIs and database tables
fix(database): fix session_id foreign key dependency
fix(prompt-optimizer): 修复数据模型和业务逻辑问题
fix(prompt-session): 修复请求新的session时orm解析失败的问题
Signed-off-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/3
2025-12-17 18:34:40 +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
yujiangping
7d56c14e42
合并 feature/20251219_yjp 分支到 web 分支
...
冲突解决策略:
- web/src/views/KnowledgeBase/ 文件夹下的所有冲突以 feature/20251219_yjp 分支为主
- 其他冲突(如 vite.config.ts)以 web 分支为主
主要更改:
- 保留了 feature 分支中的知识库相关功能和组件
- 保持了 web 分支的配置和其他功能
- 添加了自定义文本数据集创建功能
- 更新了知识库管理界面
2025-12-17 15:25:20 +08:00
yujiangping
e92a2f814b
feat(web): update auto-imports with new React hooks and components
...
- Add React components: Activity, Fragment, Suspense
- Add React hooks: cache, cacheSignal, createContext, use, useActionState, useEffectEvent, useOptimistic
- Maintain existing React Router imports and hooks
- Expand global type declarations for improved IDE autocomplete and type safety
2025-12-17 14:19:43 +08:00
yujiangping
0a9c01cf33
feat:create cusotm text dataset
2025-12-17 14:16:25 +08:00
Mark
7386ea32f1
[modify] ignore
2025-12-16 17:39:08 +08:00
lanceyq
083c460687
[updated]Updating the Chinese and English versions of the readme.
2025-12-16 14:33:31 +08:00
zhaoying
9799ba510a
optimize: check en.ts
2025-12-16 14:22:37 +08:00
zhaoying
44ceee3f42
feature: add api key
2025-12-16 13:54:41 +08:00
yujiangping
ac2173743b
feat(web): Update auto-imports with new React hooks and components
...
- Add React components: Activity, Fragment, Suspense
- Add React hooks: cache, cacheSignal, createContext, use, useActionState, useEffectEvent, useOptimistic
- Maintain existing React Router imports and hooks
- Expand global type declarations for improved IDE autocomplete support
2025-12-16 12:05:22 +08:00
yujiangping
1bc06e8204
Sync frontend project from dev-yjp branch
...
- 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
2025-12-16 11:58:37 +08:00
zhaoying
36cab874fa
feature: memory extraction engine debug switch to streaming output
2025-12-16 11:53:59 +08:00
zhaoying
d27ed6c419
optimize: 1. stream request optimize; 2. replace Chat component
2025-12-16 11:31:19 +08:00
zhaoying
af2b8531e9
components: Add Chat component
2025-12-16 11:27:13 +08:00