mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Fix: Update env to support PPTX and update README for version changes (#11167)
### What problem does this PR solve? Fix: Update env to support PPTX Fix: update README for version changes #11138 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) - [x] Documentation Update --------- Co-authored-by: writinwaters <93570324+writinwaters@users.noreply.github.com>
This commit is contained in:
@ -67,8 +67,10 @@ class Session(Base):
|
||||
or (self.__session_type == "chat" and json_data.get("data") is True)
|
||||
):
|
||||
return
|
||||
|
||||
yield self._structure_answer(json_data)
|
||||
if self.__session_type == "agent":
|
||||
yield self._structure_answer(json_data)
|
||||
else:
|
||||
yield self._structure_answer(json_data["data"])
|
||||
else:
|
||||
try:
|
||||
json_data = res.json()
|
||||
|
||||
Reference in New Issue
Block a user