v0.20.4

infiniflow/ragflowv0.20.4Aug 27, 2025by yuzhichang

AI Summary

Localizes Agent component to Chinese, improves Markdown parsing with AST support, adds ZHIPU GLM-4.5 support, and introduces an Ecommerce Customer Service Agent template.

Key Highlights

  • Agent component Chinese localization
  • Enhanced Markdown parsing with AST support
  • ZHIPU GLM-4.5 model support
  • New Agent template: Ecommerce Customer Service Workflow

New Features

  • Agent component Chinese localization
  • Enhanced Markdown parsing (AST)
  • ZHIPU GLM-4.5 support
  • Ecommerce Customer Service Agent template

Full Release Notes

## Summary

### Improvements

- Agent component: Completes Chinese localization for the Agent component.
- Introduces the `ENABLE_TIMEOUT_ASSERTION` environment variable to enable or disable timeout assertions for file parsing tasks.
- Dataset:
  - Improves Markdown file parsing, with AST support to avoid unintended chunking.
  - Enhances HTML parsing, supporting bs4-based HTML tag traversal.

### Added models

ZHIPU GLM-4.5

### New Agent templates

Ecommerce Customer Service Workflow: A template designed to handle enquiries about product features and multi-product comparisons using the internal knowledge base, as well as to manage installation appointment bookings.

### Fixed issues

- Dataset:  
  - Unable to share resources with the team.
  - Inappropriate restrictions on the number and size of uploaded files.
- Chat:
  - Unable to preview referenced files in responses.
  - Unable to send out messages after file uploads.
- An OAuth2 authentication failure.
- A logical error in multi-conditioned metadata searches within a dataset.
- Citations infinitely increased in multi-turn conversations.


## What's Changed
* Feat: Make the old page accessible via URL #3221 by @cike8899 in https://github.com/infiniflow/ragflow/pull/9589
* Feat: reference should also be list after 0.20.x by @huang-aoqin in https://github.com/infiniflow/ragflow/pull/9582
* Revert "Feat: reference should also be list after 0.20.x" by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/9592
* Fix (web): Update the style of segmented controls and add metallic texture gradients  by @dcc123456 in https://github.com/infiniflow/ragflow/pull/9591
* Fix:KeyError: 'globals' KeyError: 'globals' by @Woody-Hu in https://github.com/infiniflow/ragflow/pull/9571
* fix:passing empty database array when updating assistant by @jiasu-hezhip in https://github.com/infiniflow/ragflow/pull/9570
* Fix: Fixed the issue where the save button at the bottom of the chat page could not be displayed on small screens #3221 by @cike8899 in https://github.com/infiniflow/ragflow/pull/9596
* Fix (web): Optimize text display effect #3221 by @dcc123456 in https://github.com/infiniflow/ragflow/pull/9594
* Feat: Updated some colors according to the design draft #3221 by @cike8899 in https://github.com/infiniflow/ragflow/pull/9599
* Fix: enlarge raptor timeout limits. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/9600
* Feat: expand the capabilities of the MCP Server by @yongtenglei in https://github.com/infiniflow/ragflow/pull/8707
* Feature (web): Optimize dataset pages and segmented components #3221 by @dcc123456 in https://github.com/infiniflow/ragflow/pull/9605
* Feat: advanced markdown parsing by @yongtenglei in https://github.com/infiniflow/ragflow/pull/9607
* Fix: Remove the file size and quantity restrictions of the upload control #9613 #9598 by @cike8899 in https://github.com/infiniflow/ragflow/pull/9618
* Fix: duplicated role... by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/9622
* Fix (style): Optimized Datasets color scheme and layout #3221 by @dcc123456 in https://github.com/infiniflow/ragflow/pull/9620
* Feat: Allow users to parse documents directly after uploading files #3221 by @cike8899 in https://github.com/infiniflow/ragflow/pull/9633
* Chore: Update infinity-sdk from 0.6.0.dev4 to 0.6.0.dev5 by @asiroliu in https://github.com/infiniflow/ragflow/pull/9628
* Fixes (web): Optimized search page style and functionality #3221 by @dcc123456 in https://github.com/infiniflow/ragflow/pull/9627
* fix(dataset, next-chats): Fix data form data acquisition logic And Optimize the chat settings interface and add language selection by @muzilib in https://github.com/infiniflow/ragflow/pull/9629
* Fix: The buttons at the bottom of the dataset settings page are not visible on small screens #9638 by @cike8899 in https://github.com/infiniflow/ragflow/pull/9639
* Fix: Fixed an issue where knowledge base could not be shared #9634 by @cike8899 in https://github.com/infiniflow/ragflow/pull/9642
* Update fr.ts - RAPTOR Issue prompt by @Konsilion in https://github.com/infiniflow/ragflow/pull/9646
* fix(sdk): add default empty dict for metadata_condition by @likenamehaojie in https://github.com/infiniflow/ragflow/pull/9640
* Refactor: based on async await to handle Redis when raptor by @Woody-Hu in https://github.com/infiniflow/ragflow/pull/9576
* Fix: Document Previewer is not working #9606 by @cike8899 in https://github.com/infiniflow/ragflow/pull/9656
* Refactoring: Agent completions API change response structure by @huang-aoqin in https://github.com/infiniflow/ragflow/pull/9631
* Fix: embedded search AI summary by @yongtenglei in https://github.com/infiniflow/ragflow/pull/9658
* Fix: Display the invited icon in the header #9634 by @cike8899 in https://github.com/infiniflow/ragflow/pull/9659
* Fix: code executor timeout by @yongtenglei in https://github.com/infiniflow/ragflow/pull/9671
* Fix: Search app AI summary ERROR And The tag set cannot be selected  #9649 #9652 by @dcc123456 in https://github.com/infiniflow/ragflow/pull/9664
* Fix: unexpected LLM parameters by @yongtenglei in https://github.com/infiniflow/ragflow/pull/9661
* Fix: Place the invitation reminder icon in a separate file #9634 by @cike8899 in https://github.com/infiniflow/ragflow/pull/9662
* Fix: meta data error. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/9670
* Fix:[ERROR]'LLMBundle' object has no attribute 'language' by @Woody-Hu in https://github.com/infiniflow/ragflow/pull/9682
* Fix: Wrap VersionDialog in DropdownProvider for proper context by @uciadonis in https://github.com/infiniflow/ragflow/pull/9677
* Feat: Exclude operator_permission field from renaming chat fields #3221 by @cike8899 in https://github.com/infiniflow/ragflow/pull/9692
* Fix: grow reference list by @huang-aoqin in https://github.com/infiniflow/ragflow/pull/9674
* fix: Create conversation sessions will lost prologue by @huang-aoqin in https://github.com/infiniflow/ragflow/pull/9666
* Refa: improve lightrag by @yongtenglei in https://github.com/infiniflow/ragflow/pull/9690
* Fix: Optimize dataset page layout and internationalization and default values for multi selection #3221 by @dcc123456 in https://github.com/infiniflow/ragflow/pull/9695
* Refa: replace Chat Ollama implementation with LiteLLM by @yongtenglei in https://github.com/infiniflow/ragflow/pull/9693
* fix: validate chunk type before processing to prevent AttributeError by @Mckennasora in https://github.com/infiniflow/ragflow/pull/9698
* Docs: update API endpoint paths by @asiroliu in https://github.com/infiniflow/ragflow/pull/9683
* Fix: meta data filter with AND logic operations. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/9687
* Fix: Delete the uploaded file in the chat input box, the corresponding file ID is not deleted #9701 by @cike8899 in https://github.com/infiniflow/ragflow/pull/9702
* Fix: Optimize table style #3221 by @dcc123456 in https://github.com/infiniflow/ragflow/pull/9703
* Refactor: for total_token_count method use if to check first. by @Woody-Hu in https://github.com/infiniflow/ragflow/pull/9707
* Fix: Chunk error when re-parsing created file #9665 by @dcc123456 in https://github.com/infiniflow/ragflow/pull/9711
* Update llm_factories.json by @ycz87 in https://github.com/infiniflow/ragflow/pull/9714
* Feat: add Zhipu GLM-4.5 model series by @yongtenglei in https://github.com/infiniflow/ragflow/pull/9715
* Fix: Try to fix the issue of not being able to log in through Oauth2 #9601 by @cike8899 in https://github.com/infiniflow/ragflow/pull/9717
* Fix: After deleting the knowledge graph, jump to the dataset page #9722 by @cike8899 in https://github.com/infiniflow/ragflow/pull/9723
* Fix(i18n): Added new translations  #3221 by @dcc123456 in https://github.com/infiniflow/ragflow/pull/9727
* Docs: Miscellaneous updates by @writinwaters in https://github.com/infiniflow/ragflow/pull/9729
* Fix: add `mode` for embeded agent. by @KevinHuSh in https://github.com/infiniflow/ragflow/pull/9741
* Fix: Optimize tooltips and I118n #3221 by @dcc123456 in https://github.com/infiniflow/ragflow/pull/9744
* Feat: Upgrade html parser by @pingguoCooler in https://github.com/infiniflow/ragflow/pull/9675
* Fix: Fixed the issue that the agent embedded page needs to be logged in #9750 by @cike8899 in https://github.com/infiniflow/ragflow/pull/9751
* Fix: Optimize the MultiSelect component and system prompt templates #3221 by @dcc123456 in https://github.com/infiniflow/ragflow/pull/9752
* Create ecommerce_customer_service_workflow.json by @YyBoom233 in https://github.com/infiniflow/ragflow/pull/9755
* Added v0.20.4 release notes by @writinwaters in https://github.com/infiniflow/ragflow/pull/9757
* Docs: Update version references to v0.20.4 in READMEs and docs by @asiroliu in https://github.com/infiniflow/ragflow/pull/9758
* Revert: broken agent completion by #9631 by @yongtenglei in https://github.com/infiniflow/ragflow/pull/9760
* Fix: search list permission by @yongtenglei in https://github.com/infiniflow/ragflow/pull/9767

## New Contributors
* @Konsilion made their first contribution in https://github.com/infiniflow/ragflow/pull/9646
* @likenamehaojie made their first contribution in https://github.com/infiniflow/ragflow/pull/9640
* @uciadonis made their first contribution in https://github.com/infiniflow/ragflow/pull/9677
* @ycz87 made their first contribution in https://github.com/infiniflow/ragflow/pull/9714
* @pingguoCooler made their first contribution in https://github.com/infiniflow/ragflow/pull/9675

**Full Changelog**: https://github.com/infiniflow/ragflow/compare/v0.20.3...v0.20.4