Commit Graph

3238 Commits

Author SHA1 Message Date
WangzJi
13ce669d99 fix(web):Updated static web assets from frontend build 2025-07-03 14:13:46 +08:00
WangzJi
7401e808d7 resolve conflict 2025-07-03 13:30:34 +08:00
WangzJi
461fce0f31 fix: optimize chat scroll behavior and fix memory leak
- Fix memory leak in ChatContentContainer by properly managing requestAnimationFrame
- Fix scroll control issue in chat_dashboard mode where user scroll was ignored during streaming
- Optimize performance by reducing unnecessary useEffect triggers
- Remove global scrollBehavior CSS to avoid conflicts
- Update Chinese comments to English
- Improve scroll consistency across different chat modes
2025-07-03 13:19:59 +08:00
Eric Wang
367f119495 Merge branch 'eosphoros-ai:main' into fix/2796 2025-07-02 20:42:02 +08:00
WangzJi
efd7c81c4c build: update static web assets after chat scroll optimization 2025-07-01 11:07:03 +08:00
WangzJi
dccfacf5c5 fix: optimize chat scroll behavior for better user experience 2025-07-01 11:00:40 +08:00
WangzJi
79265492e4 build: update static web assets after scroll fix 2025-06-30 20:12:32 +08:00
WangzJi
66377e87ba fix: resolve streaming output scroll interruption in chat interface
- Implement MutationObserver for real-time DOM change detection
- Add triple-layer scroll guarantee: height detection + force check + backup timer
- Optimize architecture: separate scroll logic between container and content components
- Add intelligent user experience: respect manual scrolling with 100px threshold
- Fix second message scroll failure and streaming mode timeout issues
- Support both new chat mode and dashboard mode scenarios
2025-06-30 20:11:03 +08:00
WangzJi
5d13cf911d build: update compiled static web assets with chat scroll improvements 2025-06-30 10:46:21 +08:00
WangzJi
f97c15b7ed fix(web): Fix auto-scroll issue in chat dashboard 2025-06-30 10:42:32 +08:00
WangzJi
ef7b17f9ab fix: resolve merge conflicts with upstream main 2025-06-30 10:28:27 +08:00
WangzJi
235c336381 fix: optimize chat auto-scroll behavior to fix inconsistent streaming scroll
- Fix timing issues in state reset for new messages
- Reset scroll tracking states immediately instead of delayed reset
- Ensure streaming content scrolling works consistently after new messages
- Set proper height baseline for accurate content change detection
- Prevent race conditions between user scroll detection and auto-scroll
2025-06-27 21:02:26 +08:00
Fangyin Cheng
1efcd1b887 feat(core): Support export messages (#2802) 2025-06-27 18:06:20 +08:00
alanchen
f423b1fb2c chore: update create chroma store param (#2798) 2025-06-27 18:01:32 +08:00
FreeWill
bf6f38906d fix(api): fix v2 api error message (#2801) 2025-06-27 17:46:34 +08:00
WangzJi
f57537280a fix(web): build web static files 2025-06-26 13:58:15 +08:00
WangzJi
8cb0e1ecf0 fix(web): Fix auto-scroll issue in chat dashboard 2025-06-26 13:46:53 +08:00
WangzJi
af9d631076 fix(web): Fix auto-scroll issue in chat dashboard 2025-06-26 11:55:38 +08:00
Eric Wang
e797808efd fix(web): prompt selection and prompt_code delivery for chat_dashboard (#2790) 2025-06-25 22:07:25 +08:00
geebytes
87ae219a79 feat(AWEL):Add operator for structured output data of datasource in AWEL (#2794) 2025-06-25 21:14:59 +08:00
alanchen
2ed145c3aa fix(web): optimize chat message auto scroll (#2792) 2025-06-25 01:22:10 +08:00
alanchen
d5b8ab2e03 fix(web): fix checkBox for singleAgent mode (#2785) 2025-06-23 14:43:06 +08:00
geebytes
4cdbb22cb6 fix(core):Remove SQL comments before formatting the SQL (#2769) 2025-06-23 14:06:00 +08:00
Fangyin Cheng
c56f8810e6 fix(model): Fix proxy reranker bug (#2783) 2025-06-20 22:43:08 +08:00
Fangyin Cheng
d9d4d4b6bc feat(model): Support MLX inference (#2781) 2025-06-19 09:30:58 +08:00
stevenlx96
9084c6c19c fix: Change plan manager prompt in order to avoid calling tools directly (#2778) 2025-06-18 22:30:19 +08:00
Fangyin Cheng
bb947b6af7 feat(model): Support Qwen3 embeddings (#2772) 2025-06-14 23:34:48 +08:00
Aries-ckt
cc81e7af09 chore: tag v0.7.2 (#2771) v0.7.2 2025-06-13 17:24:12 +08:00
alanchen
4ad562a61e docs: update readme style (#2767)
Co-authored-by: Fangyin Cheng <staneyffer@gmail.com>
2025-06-12 19:55:27 +08:00
alanchen
3f88299b29 style: fix readme style (#2762) 2025-06-10 17:05:39 +08:00
alanchen
6d4c527ac2 docs: fix div style (#2761) 2025-06-10 16:23:36 +08:00
alanchen
e7c8c3e1b1 docs: update readme (#2760) 2025-06-10 16:07:51 +08:00
Emmanuel Ferdman
569770e47d fix: correct argument limit error (#2758)
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2025-06-10 15:08:17 +08:00
Fangyin Cheng
326d6a4248 feat(model): Support MiniCPM4-8B (#2754) 2025-06-09 16:23:10 +08:00
alanchen
4afa2b84b9 chore: Update dependency reference path (#2745) 2025-06-03 11:31:19 +08:00
Fangyin Cheng
0188d2367b feat(model): Support Qwen2.5 VL models (#2743) 2025-05-30 23:43:22 +08:00
Eric Wong
e04b0f9c19 feat(web): Enhance dashboard visualization and table-chart formatting (#2731) 2025-05-28 17:36:21 +08:00
Cooper
bf21ae36f3 Fix agent retriever resource (#2719)
Co-authored-by: dong <dongzhancai@iie2.com>
Co-authored-by: Fangyin Cheng <staneyffer@gmail.com>
2025-05-28 14:28:37 +08:00
Eric Wong
761c75a2c3 fix(prompt): Initialize prompt templates to ensure all templates are load (#2729) 2025-05-26 18:52:52 +08:00
Aries-ckt
7e9885574a feat(ChatKnowledge):add hybrid search for knowledge space. (#2722) 2025-05-23 18:54:22 +08:00
Eric Wong
a10535d944 feat(api): Add chat_dashboard support to V2 API (#2726) 2025-05-23 18:52:40 +08:00
alanchen
320228ae37 fix: fix unit test and some code typos (#2717) 2025-05-23 17:47:00 +08:00
alanchen
fe98239d3d fix(scene): fix chat scene config custom prompt (#2725) 2025-05-23 17:05:56 +08:00
Fangyin Cheng
22daf08ac5 chore(docs): Update ding group (#2724) 2025-05-23 17:02:28 +08:00
alanchen
e8291dc4d5 chore(core): Remove python-dotenv (#2721)
# Description

Closes #2714

# How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration

# Snapshots:

Include snapshots for easier review.

# Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have already rebased the commits and make the commit message
conform to the project standard.
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] Any dependent changes have been merged and published in downstream
modules
2025-05-23 15:17:04 +08:00
Fangyin Cheng
946c4aa8f9 chore(core): Remove python-dotenv 2025-05-23 11:21:12 +08:00
alanchen
3dd53e8ffb feat(web): Dashboard supports Pie Chart visualization (#2709)
# Description

Implement Pie Chart visualization support in dashboard components.

This PR adds pie chart visualization capability to the dashboard,
allowing users to:
- Render pie charts in the chat_dashboard mode
- Preview pie charts in the chat_dashboard editor mode

## Implementation Details

- Added new file: `web/components/chart/pie-chart.tsx` that implements
pie chart rendering logic using G2
- Modified `web/components/chart/index.tsx` to integrate the pie chart
component into the dashboard chart rendering flow
- Added animation effects, hover interactions, and improved legend
display
- Fixed interaction bugs to ensure smooth visualization

# How Has This Been Tested?

Testing procedure included:
1. Creating datasets with category-based data suitable for pie charts
2. Verifying pie chart visualization in chat_dashboard mode
3. Confirming preview functionality works correctly in the editor mode
4. Testing interactions: hover effects, animations, and legend display

All tests confirm the feature works as expected with proper
visualization of categorical data proportions.

# Snapshots:

![image](https://github.com/user-attachments/assets/575e3306-62e8-4c91-ae7f-928770534b95)

![image](https://github.com/user-attachments/assets/efc6bdec-5e1f-4172-9b08-10fb8e439c68)



# Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have already rebased the commits and make the commit message
conform to the project standard.
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] Any dependent changes have been merged and published in downstream
modules

Fixes #2708
2025-05-22 17:38:15 +08:00
geebytes
cbc28ea335 Bugfix(RAG):handle exceptions in aload_document_with_limit results (#2712) 2025-05-22 17:00:03 +08:00
Fangyin Cheng
f79f81ccc3 feat(flow): Add Chat Data template (#2716) 2025-05-22 15:52:24 +08:00
WangzJi
3a423aa14e chore(static): Build web static files for pie chart improvements #2708 2025-05-21 00:23:02 +08:00