### What problem does this PR solve?
Revert broken agent completion by #9631.
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
Docs: Update version references to v0.20.4 in READMEs and docs (#9758)
### What problem does this PR solve?
- Update version tags in README files (including translations) from
v0.20.3 to v0.20.4
- Modify Docker image references and documentation to reflect new
version
- Update version badges and image descriptions
- Maintain consistency across all language variants of README files
### Type of change
- [x] Documentation Update
Fix: Optimize the MultiSelect component and system prompt templates #3221 (#9752)
### What problem does this PR solve?
Fix: Optimize the MultiSelect component and system prompt templates
#3221
- Modify the conditional statements in the MultiSelect component, using
the ?. operator to improve code readability
- Optimize the formatting of the system prompt template to make it more
standardized and easier to read
- Update the Chinese translation, changing "ExeSQL" to "Execute SQL"
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
---------
Co-authored-by: Kevin Hu <kevinhu.sh@gmail.com>
Fix: Fixed the issue that the agent embedded page needs to be logged in #9750 (#9751)
### What problem does this PR solve?
Fix: Fixed the issue that the agent embedded page needs to be logged in
#9750
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
### What problem does this PR solve?
Fix: Optimize tooltips and I118n #3221
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
---------
Co-authored-by: Kevin Hu <kevinhu.sh@gmail.com>
### What problem does this PR solve?
Fix(i18n): Added new translations #3221
- Added and updated internationalization translations in multiple
components
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
---------
Co-authored-by: Kevin Hu <kevinhu.sh@gmail.com>
Fix: After deleting the knowledge graph, jump to the dataset page #9722 (#9723)
### What problem does this PR solve?
Fix: After deleting the knowledge graph, jump to the dataset page #9722
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
Fix: Try to fix the issue of not being able to log in through Oauth2 #9601 (#9717)
### What problem does this PR solve?
Fix: Try to fix the issue of not being able to log in through Oauth2
#9601
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
### What problem does this PR solve?
Add Zhipu GLM-4.5 model series. #9708.
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
Co-authored-by: Kevin Hu <kevinhu.sh@gmail.com>
### What problem does this PR solve?
add ZhipuAI GLM-4.5 model series
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
Fix: Chunk error when re-parsing created file #9665 (#9711)
### What problem does this PR solve?
Fix: Chunk error when re-parsing created file
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
Co-authored-by: Kevin Hu <kevinhu.sh@gmail.com>
Refactor: for total_token_count method use if to check first. (#9707)
### What problem does this PR solve?
for total_token_count method use if to check first, to improve the
performance when we need to handle exception cases
### Type of change
- [x] Refactoring
### What problem does this PR solve?
Fix: Optimize table style
-Modify the style of the table scrollbar and remove unnecessary
scrollbars
-Adjust the header style of the table, add background color and
hierarchy
-Optimize the style of datasets and file tables
-Add a new background color variable
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
Fix: Delete the uploaded file in the chat input box, the corresponding file ID is not deleted #9701 (#9702)
### What problem does this PR solve?
Fix: Delete the uploaded file in the chat input box, the corresponding
file ID is not deleted #9701
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
### What problem does this PR solve?
- Update API endpoint paths in docs from `/v1/` to `/api/v1/` for
consistency
### Type of change
- [x] Documentation Update
fix: validate chunk type before processing to prevent AttributeError (#9698)
### What problem does this PR solve?
This PR fixes a critical bug in the session listing endpoint where the
application crashes with an `AttributeError` when processing chunk data
that contains non-dictionary objects.
**Error before fix:**
```json
{
"code": 100,
"data": null,
"message": "AttributeError(\"'str' object has no attribute 'get'\")"
}
```
**Root cause:**
The code assumes all items in the `chunks` array are dictionary objects
and directly calls the `.get()` method on them. However, in some cases,
the chunks array contains string objects or other non-dictionary types,
causing the application to crash when attempting to call `.get()` on a
string.
**Solution:**
Added type validation to ensure each chunk is a dictionary before
processing. Non-dictionary chunks are safely skipped, preventing the
crash while maintaining functionality for valid chunk data.
This fix improves the robustness of the session listing endpoint and
ensures users can retrieve their conversation sessions without
encountering server errors due to data format inconsistencies.
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
Fix: Optimize dataset page layout and internationalization and default values for multi selection #3221 (#9695)
### What problem does this PR solve?
Fix: Optimize dataset page layout and internationalization and Fix
setting default values for multi selection drop-down boxes #3221
-Adjust the style and layout of each component on the dataset page
-Add and update multilingual translation content
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
fix: Create conversation sessions will lost prologue (#9666)
### What problem does this PR solve?
When create conversation,the prologue hasn't save in conversation.
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
### What problem does this PR solve?
Fix Multiple conversations cause the reference list to grow indefinitely
due to Python's mutable default argument behavior.
Explicitly initialize reference as empty list when creating new sessions
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
Feat: Exclude operator_permission field from renaming chat fields #3221 (#9692)
### What problem does this PR solve?
Feat: Exclude operator_permission field from renaming chat fields #3221
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
Fix: Wrap VersionDialog in DropdownProvider for proper context (#9677)
### What problem does this PR solve?
The VersionDialog component was not receiving the correct context for
dropdown handling, causing improper behavior in its interactions.
This PR wraps VersionDialog in DropdownProvider to ensure it gets the
proper context and functions as expected.
### Type of change
- [X] Bug Fix (non-breaking change which fixes an issue)
Fix: Place the invitation reminder icon in a separate file #9634 (#9662)
### What problem does this PR solve?
Fix: Place the invitation reminder icon in a separate file #9634
Fix: After receiving the agent message, pull the agent data to highlight
the edges passed #9538
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
Fix: Search app AI summary ERROR And The tag set cannot be selected #9649 #9652 (#9664)
### What problem does this PR solve?
Fix: Search app AI summary ERROR And The tag set cannot be selected
#9649#9652
- Search app AI summary ERROR: 'dict' object has no attribute 'split'
#9649
- fix The tag set cannot be selected in the knowledge base. #9652
- Added custom parameter options to the LlmSettingFieldItems component
- Adjusted the document preview height to improve page layout
adaptability
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
Fix: Display the invited icon in the header #9634 (#9659)
### What problem does this PR solve?
Fix: Display the invited icon in the header #9634
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
### What problem does this PR solve?
Fix search app AI summary ERROR: 'dict' object has no attribute 'split'.
#9649
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
Refactoring: Agent completions API change response structure (#9631)
### What problem does this PR solve?
Resolve #9549 and #9436 , In v0.20.x,Agent completions API changed a
lot,such as without reference and so on
### Type of change
- [x] Refactoring
Fix: Document Previewer is not working #9606 (#9656)
### What problem does this PR solve?
Fix: Document Previewer is not working #9606
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
Refactor: based on async await to handle Redis when raptor (#9576)
### What problem does this PR solve?
based on async await to handle Redis when raptor
### Type of change
- [x] Refactoring
- [x] Performance Improvement
fix(sdk): add default empty dict for metadata_condition (#9640)
### What problem does this PR solve?
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
---------
Co-authored-by: Kevin Hu <kevinhu.sh@gmail.com>
Removed a line break causing problems with execution in Raptor.
### What problem does this PR solve?
When I activate Raptor without changing anything in French, I encounter
a problem that I don't have with the English version. I noticed in the
logs that there was an extra line break, so I suggest removing it.
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
Fix: Fixed an issue where knowledge base could not be shared #9634 (#9642)
### What problem does this PR solve?
Fix: Fixed an issue where knowledge base could not be shared #9634
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
Fix: The buttons at the bottom of the dataset settings page are not visible on small screens #9638 (#9639)
### What problem does this PR solve?
Fix: The buttons at the bottom of the dataset settings page are not
visible on small screens #9638
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
fix(dataset, next-chats): Fix data form data acquisition logic And Optimize the chat settings interface and add language selection (#9629)
### What problem does this PR solve?
fix(dataset): data form data acquisition logic
fix(next-chats): Optimize the chat settings interface and add language
selection
- Replace form.formControl.trigger with form.trigger
- Use form.getValues() instead of form.formState.values
- Add language selection to support multiple languages
- Add default chat settings values
- Add new settings: icon, description, knowledge base ID, etc.
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
- [x] New Feature (non-breaking change which adds functionality)
- [ ] Documentation Update
- [ ] Refactoring
- [ ] Performance Improvement
- [ ] Other (please describe):
Fixes (web): Optimized search page style and functionality #3221 (#9627)
### What problem does this PR solve?
Fixes (web): Optimized search page style and functionality #3221
- Updated search page and view title styles
- Modified dataset list and multi-select control styles
- Optimized text field and button styles
- Updated filter button icons
- Adjusted metadata filter styles
- Added default descriptions for the smart assistant
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
Chore: Update infinity-sdk from 0.6.0.dev4 to 0.6.0.dev5 (#9628)
### What problem does this PR solve?
Bump infinity-sdk dependency to the latest development version
(0.6.0.dev5) in both pyproject.toml and uv.lock files to incorporate
recent changes and fixes from the SDK.
### Type of change
- [x] Other (please describe): Update deps
Feat: Allow users to parse documents directly after uploading files #3221 (#9633)
### What problem does this PR solve?
Feat: Allow users to parse documents directly after uploading files
#3221
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
Fix (style): Optimized Datasets color scheme and layout #3221 (#9620)
### What problem does this PR solve?
Fix (style): Optimized Datasets color scheme and layout #3221
- Updated background and text colors for multiple components
- Adjusted some layout structures, such as the paging position of
dataset tables
- Unified status icons and color mapping
- Optimized responsive layout to improve compatibility across different
screen sizes
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)