ragflow/api/utils
Yongteng Lei e6bad45c6d
Fix: update broken agent OpenAI-Compatible completion due to v0.20.0 changes (#9241)
### What problem does this PR solve?

Update broken agent OpenAI-Compatible completion due to v0.20.0. #9199 

Usage example:

**Referring the input is important, otherwise, will result in empty
output.**

<img width="1273" height="711" alt="Image"
src="https://github.com/user-attachments/assets/30740be8-f4d6-400d-9fda-d2616f89063f"
/>

<img width="622" height="247" alt="Image"
src="https://github.com/user-attachments/assets/0a2ca57a-9600-4cec-9362-0cafd0ab3aee"
/>

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2025-08-05 17:47:25 +08:00
..
__init__.py Feat: Redesign and refactor agent module (#9113) 2025-07-30 19:41:09 +08:00
api_utils.py Fix: update broken agent OpenAI-Compatible completion due to v0.20.0 changes (#9241) 2025-08-05 17:47:25 +08:00
base64_image.py Refa: Update base64 test image with new sample data (#9115) 2025-07-30 14:34:26 +08:00
commands.py Format file format from Windows/dos to Unix (#1949) 2024-08-15 09:17:36 +08:00
file_utils.py Feat: parsing supports jsonl or ldjson format (#9087) 2025-07-30 09:48:20 +08:00
log_utils.py Trivals. (#8597) 2025-07-01 14:05:18 +08:00
t_crypt.py Fix typo in code (#8327) 2025-06-18 09:41:09 +08:00
validation_utils.py Refa: validation utils to use Pydantic v2 style models (#9037) 2025-07-25 12:16:45 +08:00
web_utils.py Refa: better MIME content type (#8801) 2025-07-11 18:47:19 +08:00